Categoria: ZIM 4GL Language Reference

The Original Internet Language

$ZimPath

File system path to the directory in which the Zim software is installed. Syntax $zimpath Return Value A path name. Cannot be reset by an application program. Description $ZimPath is set to the value of the Zim entry in the registry. If this value is not set, the variable is set to the null string…
Leia mais

$ProgramName

Syntax $ProgramName Return Value Character string (varalpha). Cannot be reset by an application program. Comments Contains the name of the currently executing program. See Also SET LEXTRACE SET TRACE

$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.   Value Operating System 3 All Linux Flavours 11 Microsoft Windows 12 Linux Running on Android

$ZimVersion

Identifies the software that is currently being used. Syntax $zimversion Return Value A number. Cannot be reset by an application program. Description The version number of the software currently being used (e.g., 5.002). See Also $ZimOS $ZimProduct System Variables

$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…
Leia mais

$False

A “false” value for comparison. Syntax $false Return Value Binary false (“0”). Cannot be reset by an application program. Description A “false” value for comparisons in logic expressions. Example if Event.ScrollingKey = $False … commands … endif See Also $Null $True About Conditional Expressions System Variables

$Page

The current page number. Syntax $page Return Value A number. Can be reset by an application program. Description During generation of a report, $Page tracks the current report page number. At the start of each report, $Page is initialized to 1. At the start of each new page in the same report, $Page is automatically…
Leia mais

pt_BRPortuguese