|
Overload 1
ZCsl& ZCsl::loadScript( // load a script from file
const ZString& aFileName); // file name
Compiles/loads a script from a file. If the file name is given
without extension, .csl is appended. The file is searched
in the directories listed in environment variable CSLPATH.
If CSLPATH does not exist, the file is searched in the current
working directory.
Overload 2
ZCsl& ZCsl::loadScript( // load a script from istream
const ZString& aFileName // file/module name
istream* aStr); // input stream
Compiles/loads a script from any istream. May be used to load
a script from memory instead from a file.
|
NOTE:
CSL will not load the same file/module several times; attempt to do so will
be silently ignored.
|
|