Category: ZIM 4GL Language Reference

The Original Internet Language

$Date

The current date. Syntax $date Return Value A number in date format (YYYYMMDD). Cannot be reset by an application program. Description The current date, as set in the operating system. Example From  the zim prompt: out $date This extracts the DATE from the TIMESTAMP and then prints the proper $DayName. OUT $DayName($GetUTCDate($TimeSecs)) See Also $adddays…
Read more

$transmitkey

The name of the last EXIT or TRANSMIT key pressed. Syntax $transmitkey Return Value Character string. Comments EXIT and TRANSMIT keys are defined using the FORM SET or WINDOW SET ACCELERATOR commands. Normally, a TRANSMIT key cannot terminate FORM INPUT while a “required” field has no value. However, if TRANSMIT key is pressed while the…
Read more

SET TRANSACTION FLOW

Traces the execution of explicit transaction commands. Syntax SET TRANSACTION FLOW ON|OFF Comments The execution of explicit transactions (implemented using TRANSACTION, ENDTRANSACTION, and QUITTRANSACTION commands) is traced through the display of special messages, even in single-user systems. Implicit transactions are not traced.   See Also $InTransaction ENDTRANSACTION QUITTRANSACTION SET TRACEOUTPUT TRANSACTION

$WindowPSWidth

The logical width of the current window in columns. Syntax $window pswidth Return Value A number. Cannot be reset by an application program. Description The logical width of the current window in character columns. The $WindowPSWidth function is reset when the current window changes. See Also ThisWindow WINDOW SET CURRENT WINDOW SET OUTPUT

$WindowPSHeight

The logical height of the current window in rows. Syntax $windowpsheight Return Value A number. Cannot be reset by an application program. Description The logical height of the current window in character rows. The $WindowPSHeight function is reset when the current window changes. See Also ThisWindow WINDOW SET CURRENT WINDOW SET OUTPUT

SET MOUSE

Controls the use of a pointing device in Zim for Windows. Syntax SET MOUSE ON|OFF Comments The MOUSE option is set ON by default. When MOUSE is ON, the use of a pointing device is enabled for the client area of Zim windows. The application can then respond to mouse-button accelerators that occur while the…
Read more

$BreakFlag

Indicates if the application user has pressed the “break” key. Syntax $breakflag Return Value Binary. Can be reset by an application program. Description At the start of an application session, $BreakFlag is set to “0” ($False). Set to “1” ($True) if the application user presses the “break” key. The application program must reset the variable…
Read more

SET ESCAPECHAR

Controls the use of the escape character in quoted character strings. Syntax SET ESCAPECHAR ON|OFF Comments The ESCAPECHAR option is ON by default. When ESCAPECHAR is ON, the backslash is treated as the escape character inside quoted character strings. Setting ESCAPECHAR to OFF causes the backslash to be treated as data. The OFF setting is…
Read more

TOP

Moves the current member pointer to the first member in a result set. Syntax TOP [setname] Parameters setname The name of a result set. If setname is omitted, the current set is used. Comments The TOP command moves the current member pointer to the first record in the current set.   See Also $currentmember BOTTOM…
Read more

$ (Template line join)

In a template program, indicates that the next line is to be joined to the current line at the output destination. Syntax linestart «$ linecontinue » where linestart any portion, from the beginning, of an output line linecontinue the remaining portion(s) of the same output line Comments In a template program, the dollar sign ($)…
Read more

en_CAEnglish