ReadTextFile

Revision as of 23:20, 30 March 2007 by Lchrisman (talk | contribs)


ReadTextFile( filename, showDialog )

Reads the contents of a text file into a text string.

The optional parameter, showDialog (new to 4.0) controls whether the file dialog appears. If not specified, then the dialog appears only if the file does not exist. To prevent this from showing (displaying an error instead) specify showDialog as false. To force the dialog to display, even if the file exists (i.e., as a way to give the user a chance to change the filename, while still providing a default name), specify showDialog as true.

From ADE, the dialog is never displayed.

See Also

Comments


You are not allowed to post comments.