Returns the contents of the given file.
The file can either contain data, which can then be interpreted as a string, or it can contain code, which, once loaded into a string, can be executed using
Note: Be aware that the scope of the called code is on a lower level than the calling script, so in order to read any variables that were modified (or defined) in that code, they must be initialized at the higher level already (see compile for example).
|Return Value:||String - Contents of the read file.|
_data = loadFile "d:\vbs2\data\myData.txt"
|See also:||preprocessFile, VBS2PluginFileAccess, call, compile|