Categoria: ZIM 4GL Language Reference

The Original Internet Language

+ (Add/Positive)

Indicates a positive value (unary +) or adds two values. Syntax [expression1]+expression2 The plus sign (+) adds the expression on the right to the expression on the left. Parameters expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number Comments Arithmetic operators indicate the sign…
Leia mais

$toupper

Converts alphabetic characters to upper case. Syntax $toupper(source) Parameters source any value, or an expression that yields any value Return Value Character string, in which all letters are uppercase. Comments $toupper returns a character string in which all letters are upper case. If source is not of a character data type, it is converted to…
Leia mais

SET HEADINGS

Controls the display or suppression of headings in LIST command output. Syntax SET HEADINGS ON|OFF Comments The HEADINGS option is set ON by default. When you set HEADINGS OFF, output from the LIST and SELECT commands omits field headings from the columns displaying each field’s contents. The HEADINGS setting affects the width of the columns…
Leia mais

$ZimProduct

Indicates the Zim:X product currently being used. Syntax $zimproduct Return Value A number according to the description below. Cannot be reset by an application program. Description Value Product 2 ZimPrompt 9 ZimServer 12 ZimQTC See Also $ZimOS $ZimVersion

SET DOCLINELENGTH

Adjusts the size of the internal data buffer used to read unstructured application documents. Syntax SET DOCLINELENGTH num Parameters num Num can bean integer constant (e.g., 15, 200),a variable, form field, menu item, or parameter that evaluates to an integer.Num must be between 1 and 32000. Comments At the start of an application session, DOCLINELENGTH…
Leia mais

$IsConnected

Tests if Zim is connected to a particular server. Syntax $isconnected(string) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if Zim is connected to the server name contained in string; if the server name is invalid or there is no…
Leia mais

$day

Extracts the day number associated with a specified date value. Syntax $day(date) Parameters date a data, or an expression that evaluates to a date, in the form YYYYMMDD Return Value Character string. Comments This function extracts day information from standard date values. Date is often the system variable $Date. Example $day(19981225) Evaluates to “25”. $day($date+7)…
Leia mais

SET SQLTRACE

SET SQLTRACE Controls the tracing of software-generated SQL commands. Syntax SET SQLTRACE ON|OFF Comments The SQLTRACE option is set OFF by default. When SQLTRACE is switched ON, all SQL statements generated are displayed at the terminal. SQL statements are generated during command or program parsing, interactive or interpretive execution, and compiling, if a command statement…
Leia mais

SCREEN RESET

Resets the application window (BACKSCREEN) by re-displaying all active windows over it. Syntax SCREEN RESET Comments The SCREEN RESET command reverses a SCREEN CLEAR command by hiding the application window (BACKSCREEN) beneath all other active windows and making it the least current window. During an input request, the Ctrl-R key sequence entered by the user…
Leia mais

$LastErrLevel

The error severity level generated by the last command that returned an error severity level. Syntax $lasterrlevel Value A number (1 to 4). Can be reset by an application program. Description The error severity level of the most recently executed command that returned an error severity level other than 0 (success). Value Meaning 1 Information…
Leia mais

pt_BRPortuguese