Category: ZIM 4GL Language Reference

The Original Internet Language

LET

Assigns a value to a variable object. Syntax LET expression Parameters target A global or local variable, a form field or menu item, a parameter, or a macro can be used. Subscripted (array) variables are valid. expression Any value expression. The value of expression is assigned to target. Expression can include literals, constants, global or…
Read more

COMPUTE

Computes the results of one or more expressions for a set of records. Syntax COMPUTE [num] [setspec] EVALUATE clause [-> clause] Parameters num Can bean integer constant (15, 200);a variable, form field, or parameter that evaluates to an integer;the word ALL.If num is omitted, or less than 0, it defaults to ALL. setspec The set…
Read more

INPUT

Gets serial input from the application user. Syntax INPUT «target» Parameters target A list of one or more global or local variables, form fields, menu items, parameters, or macros, in any combination. Subscripted (array) variables are valid. Each item must be separated from the next by a space. Comments INPUT provides a simple means of…
Read more

NEXT

Moves the current member pointer one or more members down in a result set. Syntax DOWN [num] [setname] Parameters num The number of members farther “down” 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…
Read more

ACCESS

Opens an application directory to use the objects contained in it. Syntax ACCESS dirname [READ|UPDATE] Parameters dirname Specifies the name of an application directory. READ Specifies that you can only read object definitions in dirname, not update object definitions. If neither READ nor UPDATE is specified, READ is the default value. UPDATE Specifies that you…
Read more

DOWN

Moves the current member pointer one or more members “down” in a result set. Syntax DOWN [num] [setname] Parameters num The number of members farther “down” 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…
Read more

LOCATE

Locates a particular member of a result set and makes it the current member. Syntax LOCATE [num] [set] [WHERE clause] Parameters num The number of records to be located. Num can be an integer constant (e.g., 15, 200); a variable, form field, menu item, or formal parameter that evaluates to an integer; the word ALL.…
Read more

RETURN

Ends execution of an application program and returns to the “previous” command level. Syntax RETURN [TO procedure] Parameters procedure The name of a procedure. Must be an ancestor (i.e., the “parent”, “grandparent”, “great-grandparent”, etc.) of the current procedure. Comments The RETURN command stops execution of the current procedure. If a TO clause is omitted, execution…
Read more

AND

Performs a Boolean AND of two logic expressions. Syntax expression1 AND expression2 Parameters expression1 A logical expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses. expression2 A logical expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses. Return Value…
Read more

DETAIL LINE

Specifies the fields that are selected for a report Syntax DETAIL LINE [colheadings] [GRAPHIC [TEMPLATE name]] reportitem [:format:] [WHERE clause] Parameters colheadings Can be COLUMN HEADING OFF Specifies that column break headings are not to be re-displayed at the top of each report page. LEVEL n [WIDTH n ] LEVEL 0 causes level 0 column…
Read more

en_CAEnglish