Initialization code which is external to functions
All code not inside a function block is interpreted before main() is called and can be thought of as initialization code. When a script has initialization code outside of functions and code inside of functions, it shares characteristics of both batch and program scripts. Thus, the following ScriptEase code:
Clib.printf("first ");
function main()
{
Clib.printf("third.");
}
Clib.printf("second ");
results in the following output:
first second third.