Category: ZIM 4GL Language Reference

The Original Internet Language

COMPLETE

COMPLETE Used as a part of a set specification to select both matching and non-matching members of an EntitySet, a relationship with fields, a form, a menu, a result set, or a structured application document. Syntax object (COMPLETE) Parameters object The name of an EntitySet, a relationship with fields, a structured application document, a form,…
Read more

% (Comment)

Marks the start of a comment in an application program. Syntax [ZIMcommand] % comment Parameters ZIMcommand Any portion of a command that appears on one line in an application program. comment Any string of characters, normally a few words explaining either ZIMcommand or an entire section of the program. The command parser ignores comment. Comments…
Read more

TRANSFORM

Transfers control to another procedure. Syntax TRANSFORM procedurename [(]expression[)] Parameters procedurename The name of the procedure to which execution control is to be transferred. expression Parameters or macros for procedurename (formatted as when calling the procedure). Comments TRANSFORM transfers execution control to the specified procedure, but does not return control to the calling procedure once…
Read more

$currentmember

Returns the position of the current member of a result set. Syntax $currentmember(setname) Parameters setname a character string, or an expression that evaluates to a character string, being the name of a result set Return Value Number, with no decimal places. Comments $currentmember returns the (numerical) position of the current member within the specified result…
Read more

$tochr

Converts an ordinal number into a character. Syntax $tochr(number) Parameters number a number, or an expression that evaluates to a number Return Value Each of the decimal numbers from 0 to 255 represents a character output by your workstation. $tochr converts a given number to the corresponding character. Note: The ascii character 0 returns an…
Read more

$addyears

Calculates a date value by adding years to (or subtracting years from) a specified date value. Syntax $addyears(date,number) Parameters date a date, or an expression that evaluates to a DATE data type number a number, or an expression that evaluates to a number Return Value Number, representing a DATE value. Comments Use $addyears to perform…
Read more

? (Wildcard)

Matches all subsequent characters in a value. Syntax expression1 = expression2 ? Parameters expression1 A character string, or a variable or form field that evaluates to a character string. expression2 A character string, or a variable or form field that evaluates to a character string. Comments Used with the equals sign in logic expressions, the…
Read more

PAGE HEADING

Specifies the page heading for a report. Syntax PAGE HEADING [BREAK HEADING indicator] reportitem [:format:] Parameters indicator Indicator can be OFF Suppresses all break headings at the top of each new report page. LEVEL n Causes the break heading for break level n and below to be displayed at the top of each report page.…
Read more

SORTED BY

SORTED BY Sorts the members of the set produced by the main command. Syntax SORTED BY «expression [ASCENDING|DESCENDING]» Parameters expression An expression that identifies a field to be used as a sort key. Complex expressions must be enclosed in parentheses. ASCENDING or DESCENDING Specifies how the sort on the associated key is to be performed.…
Read more

PASSWORD

Changes or assigns a password to the current Zim user ID. Syntax PASSWORD newpassword [oldpassword] Parameters newpassword The new password, up to 18 characters. Any characters are valid (i.e., letters, digits, punctuation). $Null is also valid; its effect is to remove a password. Can also be an expression. If necessary, the expression is converted to…
Read more

en_CAEnglish