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

< > (Macro name delimiters)

Marks the start and end of a macro name in an application program. Syntax <name> Parameters name The name to be assigned to a global macro, or a digit from 0 to 9 referring to one of the local macros belonging to the current macro program. Comments A macro is a dynamically declared name that…
Leia mais

[NOT] LIKE

Matches an expression to a pattern. Syntax expression [NOT] LIKE pattern Parameters expression An expression that evaluates to a character string. pattern An expression that evaluates to a character string. Pattern must consist of combinations of letters, digits, symbols, and the special wildcard characters % and _. Return Value Logical. Comments A LIKE comparison is…
Leia mais

SET SIZE

Sets the estimated number of records in an EntitySet, relationship, application document, or result set. Syntax #1 SET SIZE object size or SET object SIZE size Parameters object The name of an EntitySet, a relationship with fields, a structured application document, or a result set. size A positive number representing the estimated number of records…
Leia mais

$addseconds

Calculates a time value by adding seconds to (or subtracting seconds from) a specified time value. Syntax $addseconds(time,number) Parameters time an 8-digit number, or an expression that evaluates to an 8-digit number, that expresses a valid time value in the format HHMMSSTT number a number, or an expression that evaluates to a number Return Value…
Leia mais

$count

Counts the number of set members that meet a specified condition, excluding records in which the condition is $Null. Syntax $count(expression) Parameters expression is any expression Return Value Number, with no decimal places. Comments Expression is often a WHERE expression that includes only selected set members in the counting operation. If the WHERE expression (expr1…
Leia mais

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

DDEPeek

DDEPeek Syntax procedure DDEPeek (out tErrCode, inout tServ, in dde_item, out dde_val) Parameters tErrCode longint, an error code tServ longint, connection handle dde_item char, item name dde_val char, value of the returned item. Must be a string at least five characters in length Comments DDEPeek retrieves the value of a specific item from a remote…
Leia mais

$Null

A “null” value for comparison. Syntax $null Value “Null” (a state of valuelessness). Cannot be reset by an application program. Description The “null” property. $Null can be written without the dollar sign. When certain atomic expressions (variable name, field name, form field name, or formal parameter name) are used before being assigned values, or if…
Leia mais

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

pt_BRPortuguese