Globals

args

Script arguments

A global variable holding an array that contains the strings passed as argument for the script. Embedders may change the convention, and pass any Falcon item as arguments; however, falcon command line and the other standard tools pass only an array of strings.

scriptName

Logical module name of current module

It's a global variable that is usually filled with the script name. It's the logical script name that the VM has assigned to this module, mainly used for debugging.

scriptPath

Complete path used to load the script

It's a global variable that is usually filled with the location from which the script has been loaded. It's semantic may vary among embedding applications, but it should usually receive the complete path to the main script, in Falcon file convention (forward slashes to separate directories), or the complete URI where applicable.


Made with faldoc 2.2.0