Category: ZIM 4GL Language Reference

The Original Internet Language

SET AUTORETRY

Specifies if implicit transactions are to be retried automatically if a deadlock or a time-out occurs. Syntax SET AUTORETRY ON|OFF Comments The AUTORETRY option is set OFF by default. When AUTORETRY is ON, implicit transactions that fail because of deadlock or time-outs will be retried until they finally succeed or an internal maximum number of…
Read more

$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…
Read more

SET OUTPUT TRIM

Controls how trailing blanks in output lines are treated. Syntax SET OUTPUT TRIM ON|OFF Comments The OUTPUT TRIM option is set OFF by default. Normally, trailing blanks are retained in the output stream. To remove trailing blanks, set OUTPUT TRIM to ON. This option works with single lines of text; to trim trailing blanks in…
Read more

BYE

Exits an application session and returns control to the operating system. Syntax BYE Comments The BYE command ends the current application session, when encountered. If an application document called ZIMBYE exists and contains an application program, that program is automatically executed before the session ends. Depending on how you exit Zim, the zimbye is not…
Read more

$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…
Read more

ZimAdmin

O Zim Explore é um console de gerenciamento gráfico simples, mas poderoso, que fornece uma única interface gráfica para configurar, monitorar e gerenciar todos os bancos de dados Zim e todas as máquinas Zim Server em uma rede Zim. Toda a rede Zim é representada como uma visualização em árvore, com cada Zim Server ocupando…
Read more

System Variables

The software maintains a series of system variables that represent either fixed values ($ZimOS) or values that fluctuate dynamically with the current status of the software ($InTransaction) or of application objects (ThisWindow.WindowTag). System variables resemble global variables in nature. The software automatically sets or resets the values of system variables to reflect the status of…
Read more

en_CAEnglish