Categoria: ZIM 4GL Language Reference

The Original Internet Language

-> (Result Set)

Assigns a name to the set of records processed by the main command. Syntax -> setname The set of records processed by the main command is given the name setname. where setname The name to be assigned to the result set. Comments You can explicitly create a result set by adding the characters -> and…
Leia mais

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…
Leia mais

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…
Leia mais

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…
Leia mais

$tonumber

Converts a value into its numeric equivalent. Syntax $tonumber(expression,decimals) Parameters expression Any value, or an expression that yields any value. decimals A number specifying the number of decimal places required in the converted value. Decimals can be negative. Return Value Number equivalent of expression. Comments Use $tonumber to obtain the numeric equivalent of expression. If…
Leia mais

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…
Leia mais

$min

Returns the minimum value of a set of values. Syntax $min(expression) Parameters expression any expression Return Value The value of the selected instance of expression. Comments Use $min to find the smallest value among members of a set. Instances of expression that are $Null are ignored. Expression is often a WHERE expression that includes only…
Leia mais

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…
Leia mais

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…
Leia mais

$max

Returns the maximum value of a set of values. Syntax $max(expression) Parameters expression any expression Return Value The value of the selected instance of expression. Comments Use $max to find the largest value among members of a set. Instances of expression that are $Null are ignored. Expression is often a WHERE expression that includes only…
Leia mais

pt_BRPortuguese