Category: ZIM 4GL Language Reference

The Original Internet Language

HALT

In application programs, sets break points where execution is to be halted. Syntax HALT Comments The HALT command suspends execution of the currently executing application program and displays the HALT prompt (>>) at the terminal. You can then enter any command, including a call to another program. The SET SINGLESTEP ON command causes the HALT…
Read more

GRAPH

Starts a graphics program. Syntax GRAPH expression [ RESET|CLOSE] [INVISIBLE] [BACKGROUND] Parameters expression   A character string, or expression that evaluates to a character string. The content of the string is passed to the graphics program call (e.g., parameters). If no parameters are required, specify the null string.   RESET   Flushes all internal data…
Read more

EDIT

Starts a text editor to edit an application document. Syntax EDIT docname [BACKGROUND] Parameters docname The name of an application document. BACKGROUND Indicates that the editor is to be executed asynchronously while the application continues to run. Comments The value assigned to $Editor should be the full path and file name of the desired text…
Read more

REPORT HEADING

Specifies the report heading. Syntax REPORT HEADING [TEMPLATE name] reportitem [:format:] Parameters TEMPLATE name For graphical reports, the name of an optional template to define the layout of the report. reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next…
Read more

PREVIOUS

Moves the current member pointer one or more records “up” in a result set. Syntax PREVIOUS [num] [setname] Parameters num   The number of members “further up” into setname that the current member pointer is to be moved. Num can be:an integer constant (15, 200);a variable, form field, or parameter that evaluates to an integer;the…
Read more

CURSOR

Positions the text cursor in the current window.   Note: This command has been deprecated in Zim 8.50.It is still accepted for backwards compatibility, but it is ignored. Syntax CURSOR expression1 expression2 Parameters expression1 A number or an expression that evaluates to a number. If the expression is complex, it must be enclosed in parentheses.Indicates…
Read more

LOGIN

Identifies the current user to Zim for security purposes. Syntax LOGIN username [password] Parameters username A character string, or an expression that evaluates to a character string.The character string is checked against the list of valid user names (as defined in the Users EntitySet). User names are case-sensitive.Complex expressions must be enclosed in parentheses. password…
Read more

REPORT FOOTING

Specifies the report footing. Syntax REPORT FOOTING [TEMPLATE name] reportitem [:format:] Parameters TEMPLATE name For graphical reports, the name of an optional template to define the layout of the report. reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next…
Read more

COMPILE

Compiles an application program. Syntax COMPILE progdocname Parameters progdocname The name of the application document that contains the application program to be compiled. Comments The COMPILE command reads the program compiles it, and stores the compiled version in a separate disk file. The source program is then marked as being compiled. Thereafter, the compiled version…
Read more

OUTPUT

Outputs the results of one or more expressions. Syntax OUTPUT [expression] [;] Parameters expression Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next by at least one space. Comments OUTPUT evaluates expression and sends the result to the current output…
Read more

en_CAEnglish