Category: System Variables

The Original Internet Language

$Editor

The name of the text editor software for editing programs. Syntax $editor Return Value A character string. Can be reset by an application program. Description The name of a text editor. Each time you start a new application session, $Editor is set, by default, to the name of an editor commonly used on the current…
Read more

$UserID

The current user’s operating system user ID. Syntax $userid Return Value A number, or $Null. Can be reset by an application program. Description The current user’s operating system user ID; otherwise, $Null. You can use the $UserID and $GroupID system variables to build levels of security into your applications. During any Zim session, you can…
Read more

$LastErrMessage

The error message generated by the last command that returned an error code. Syntax $lasterrmessage Value A character string. Can be reset by an application program. Description $Null at the beginning of each application session. The value changes only if an error occurs, or if the application program explicitly assigns a value. When non-$Null, the…
Read more

$ErrCode

The error code generated by the last command executed. Syntax $errcode Return Value A number (0 to 9999.) Can be reset by an application program. Description Indicator of success (0) or a reason (1 to 9999) for the failure of the most recently executed command. Explanations for many error codes are contained in the ErrorHelp…
Read more

$Time

The current time. Syntax $time Return Value A number. Cannot be reset by an application program. Description The current time (format: HHMMSSTT, 24-hour notation), as set in the operating system. Some operating systems provide time only to the nearest second. In such cases, the TT (ticks) portion of the time is always set to 00.…
Read more

$CursorScreenRow

The location of focus on the screen when an event occurs. Syntax $cursorscreenrow Return Value The number of the character row where focus is located on the terminal screen at the time of an event. Can be reset by an application program. Description The number of the character row where focus was located on the…
Read more

$CursorScreenCol

The location of focus on the screen when an event occurs. Syntax $cursorscreencol Return Value The number of the character column where focus is located on the terminal screen at the time of an event. Can be reset by an application program. Description The number of the character column where focus was located on the…
Read more

$MaxErrLevel

The highest error severity level generated during the application session. Syntax $maxerrlevel Value A number (0 to 4). Can be reset by an application program. Value Meaning 0 No error. 1 Information message. 2 Warning. 3 User error. 4 System error. Description The highest error severity level encountered to the current point in the application…
Read more

$CursorRow

The location of focus in a window when an event occurs. Syntax $cursorrow Return Value A number which is the row location for focus of the current window at the time of an event. Can be reset by an application program. Description The number of the character row where focus was located within the current…
Read more

$ZGroupID

The application user’s Zim group identifier. Syntax $zgroupid Return Value The group identifier of the user specified in the last successfully executed LOGIN command. Cannot be reset by an application program. Description Upon successful execution of a LOGIN command, $ZGroupID is set to the specified user’s group identifier. Although you can change the value of…
Read more

en_CAEnglish