Loads a UniScript file.
Return Value
ret
Parameters
ssFile is the ic file name.
Example
The following example uses the UniScript-Server as a compiler for ic files. The file test.ic is compiled the ICL file is loaded and a function from the library is invoked.
// File d:\test.ic
def test()
{
MessageBox("Hello");
}
// File d:\testload.ic
def TestLoad()
{
us = CreateObject("UniScript32");
us.Call("config", "ErrorOutput", 4);
us.Load("d:\test.ic");
us.Call("saveiclib", "d:\test.icl", "test");
loadiclib("d:\test.icl");
test();
}
See also
id-518343