Categoria: ZIM User Documentation

The Original Internet Language

DISPLAY DEFINE

Invokes Zim IDE to edit a display. Syntax DISPLAY DEFINE displayname [[IN] dirname] Parameters displayname The name of a new or existing display. dirname The name of the application directory in which the specified display can exist. If the display does not exist in the provided application directory, it will be created there. If omitted:…
Leia mais

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

$random

Generates a pseudo-random number, uniformly distributed within the range 0 to 1. Syntax $random(number) Parameters number a number, or an expression that evaluates to a number, that acts as a seed for the random number generator Return Value Number, with the same number of decimal places as number. Comments Use $random to generate a series…
Leia mais

$right

Extracts a segment from the end of a character string. Syntax $right(source,length) Parameters source a character string, or an expression that evaluates to a character string length a number, or an expression that evaluates to a number Return Value Character string, consisting of length characters from source, starting length character positions from the end of…
Leia mais

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

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

( ) Parentheses

Alters the order of evaluation of expressions, or groups expressions, or both. Syntax #1 Alters the order of evaluation in expressions. (expression) Within a larger expression, a single expression placed in parentheses changes the order of execution (which normally depends on the precedence of operators). Parameters expression an arithmetic or logic expression Syntax #2 Groups…
Leia mais

$distinct

Returns the unique values from a series of successive values. Syntax $distinct(expression) Parameters expression any expression Return Value This function returns the unique values from a series of successive values. For each instance of its argument, $distinct returns a value that depends on the immediately previous value of the argument. If the previous and current…
Leia mais

OR

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

\ (Escape)

Causes the following character to be treated literally, or as a hex code in a character string; indicates continuation of a command on the subsequent line. Syntax #1 Causes the character that follows it in a string to be treated literally. \char Parameters char any single character that is to be treated literally in a…
Leia mais

pt_BRPortuguese