Functional Area : Predefined Constants

JudoScript runtime engine defines a number of internal constants, some of which reflects the underlying runtime environment, others describe the characteristics of this script and this instance. They are all listed in the following table.

ConstantDescriptoin
#versionInfo The JudoScript version information.
#versionID The JudoScript version identifier.
#pathSep The same as java.lang.File.pathSeparator. This is the same as the shortcut expression ${:} .
#fileSep The same as java.lang.File.separator. This is the same as the shortcut expression ${/} .
#home The home directory for the user of the current run. This is the same as the shortcut expressoin ${~} .
#here The current directory for the user of the current run. This is the same as the shortcut expressoin ${.} .
#os The operation system name.
#user The user name.
#prog The name of this script.
#args A string array of the arguments specified on the command line. This does not include options.
#options An ordered map of the command-line options. Command-line options are -name=value or -name:value pairs.
#cmd_args A string array of the original command-line parameters.
#usage This is a hashtable that holds the information specified by the user in the script.
#year The current year.