$ZimOS

Indicates the operating system under which Zim:X is currently running.

Syntax

$zimos

Return Value

A number as stated below. It cannot be reset by an application program.

 

ValueOperating System
3All Linux Flavours
11Microsoft Windows
12Linux Running on Android

$SQLErrCode

The error code returned from the SQL database.

Syntax

$sqlerrcode

Value

A number. Can be reset by an application program.

Description

A numeric code returned from the SQL database for the last SQL statement executed. For explanation of these error codes, consult the documentation for the particular SQL server.

See Also

$SQLErrMsg

System Variables

$Located

Indicates the number of records that meet the condition(s) specified in the most recent LOCATE command.

Syntax

$located

Return Value

A number. Can be reset by an application program.

Description

The number of records that met the conditions specified in the most recent LOCATE command.

See Also

LOCATE

System Variables

$LineNumber

Syntax

$LineNumber

Return Value

The line number (int) of the current command in the currently executing program. It cannot be reset by an application program.

Comments

For commands that are continued over more than one line, $LineNumber refers to the last line of the command.

See Also

SET LEXTRACE

SET TRACE

$SQLErrMsg

The error message returned from the SQL database.

Syntax

$sqlerrmsg

Value

A character string. Can be reset by an application program.

Description

A character string, containing the message returned from the SQL database for the last SQL statement executed. For explanation of these error messages, consult the documentation for the particular SQL server.

See Also

$SQLErrCode

REMOTEEXEC

– (Subtract/Negative)

– (Subtract/Negative)

Indicates a negative value (unary -) or subtracts one value from another.

Syntax

[expression1] – expression2

The minus sign (-) subtracts the expression on the right from the expression on the left.

where

expression1a number or expression that evaluates to a number
expression2a number or expression that evaluates to a number

Comments

Arithmetic operators indicate the sign of a number or perform arithmetic operations (addition, subtraction, multiplication, division, exponentiation).

$ObjEventName

Obtain the name of the current event.

Syntax

$ObjEventName

Return Value

Returns a string.

Warning

COM objects are being discontinued by Microsoft and may not be available in future releases of Zim-X.

pt_BRPortuguese