Category: ZIM User Documentation

The Original Internet Language

$LastErrCode

The error code generated by the last command that returned an error code. Syntax $lasterrcode Return Value A number (1 to 9999). Can be reset by an application program. Description The reason for the failure of the most recently executed command that returned an error code other than 0 (success) At the beginning of each…
Read more

$adddays

Calculates a date value by adding days to (or subtracting days from) from a specified date value. Syntax $adddays(date,number) where date a date, or an expression that evaluates to a DATE data type number a number, or an expression that evaluates to a number Return Value Number, representing a DATE value. Comments Use $adddays to…
Read more

* (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

ZIMDD (Repair Facility)

Produces structural information about database files. Syntax ZIMDD Comments ZIMDD analyzes the application directory files in your database, producing information about the structure of the files. The information is written to two output files whose names are system-dependent. ZIMDD should be used immediately before executing a ZIMFIX, because ZIMFIX needs the structural information produced by…
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

en_CAEnglish