ReadTextFile
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
Enable comment auto-refresher