When you run the script, the following constants are automatically created.
|apppath||The directory where the Eonza program is located.|
|isconsole||Equal to true if the script is running in console mode. Otherwise, the value is false.|
|n||Line feed character (0xA).|
|os||Operating system. For example linux, windows, darwin.|
|port||The port used by the current script.|
|r||Carriage return character (0xD).|
|t||Tab character (0x9).|
|temppath||Directory for temporary files.|
In addition, the following constants are created:
- All language resources of the Eonza program.
- Global constants, which are specified in the program settings.
When accessing the constants, you have to put a dot before the name.
1Eonza Path = #.apppath# 2Temp Path = #.temppath# 3Eonza Language Resource (cancel) = #.cancel# 4OS = #.os# 5My Global Constant (myname) = #.myname#