Category: ZIM 4GL Language Reference

The Original Internet Language

$BreakFlag

Indicates if the application user has pressed the “break” key. Syntax $breakflag Return Value Binary. Can be reset by an application program. Description At the start of an application session, $BreakFlag is set to “0” ($False). Set to “1” ($True) if the application user presses the “break” key. The application program must reset the variable…
Read more

$MemberCount

The number of records processed by the most recent set-processing command. Syntax $membercount Return Value A number. Can be reset by an application program. Description The number of records processed by the most recent set-processing command. See Also ADD CHANGE COMPUTE DELETE FIND INSERT LIST REPORT FROM SELECT SORT UPDATE System Variables

$SetCount

The number of records found by the last FIND command. Syntax $setcount Return Value A number. Can be reset by an application program. Description The number of records in the result set produced by the most recent FIND command. Example find Students where GradePt = 4.00 Produces a set of Students whose GradePt is 4.00.…
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

$WorkPath

File system path to the application user’s work directory (specified in a Zim configuration file). Return Value A character string. Cannot be reset by an application program. Description The current work path as specified in the configuration file. To indicate the current WorkPath directory in a file name, start the name with a close parenthesis…
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

$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

$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

$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

$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

en_CAEnglish