Category: ZIM 4GL Language Reference

The Original Internet Language

* (Multiply)

Multiplies one value by another. Syntax [expression1]*expression2 The asterisk (*) multiplies the expression on the left by the expression on the right. Parameters expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number Comments Arithmetic operators indicate the sign of a number or perform arithmetic…
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

$atan

Calculates the arctangent of a number. Syntax $atan(number) Parameters number a number, or an expression that evaluates to a number Return Value Number, with the same number of decimal places as number. Comments Use $atan to calculate the arctangent (in radians) of a number. The value returned by this function has the same number of…
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

DDEConnect

DDEConnect Sets up the access to the remote application. Syntax DDEConnect ( out tErrCode,             out tServ,             in dde_app,             in dde_topic) Parameters tErrCode A returned error code. It must be a longint. tServ The returned connection handle. It also must be a longint. dde_app A string containing the application name. dde_topic A string containing the topic name. Comments The procedure is supplied with the application…
Read more

$fileprint

Prints a text or bitmap file. Syntax $fileprint(filename[,filetype]) Parameters filename a character string or an expression that evaluates to a character string filetype a number that determines if the file is a text file (0) or a bitmap file (1) Return Value The $fileprint function returns “1” ($True) if no errors were detected before the…
Read more

PRINT

Prints the contents of a window or application document. Syntax PRINT name Parameters name The name of a window (GUI environments only) or application document. Comments If name identifies a window, the window must be open and activated. The visible portion of the window is sent to the current output destination as a bitmap. Bitmap…
Read more

/ (Divide)

Divides one value by another. Syntax [expression1]/expression2 The oblique (or slash, /) is the division operator. It divides the expression on the left by the expression on the right. Parameters expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number Comments Arithmetic operators indicate the…
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

$CursorCol

The location of focus in a window when an event occurs. Syntax $cursorcol Return Value A number which is the column 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 column where focus was located within the current…
Read more

en_CAEnglish