readFromTextFile

Description

Read the text of the file.

Parameters

Return Type

String

The text of the file

Example

string fileContent = readFromTextFile("C:/story.txt");

 

  1. You can use absolute paths and relative paths to "sil.home".

  2. If the file is not found, an error will be raised.

 

See also

Peacock