NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



LoadFile

Loads the contents of a text file into a string variable

Returns false on file open failure, true on success.

Sample Source

If (LoadFile strContents From "/web/sample.txt") Then
   Say strContents
Else
   Say "No such file"
EndIf

Related Function(s):
   FileExists; LoadUrl; SayFile;

Minimum version: 4.6