Categoria: ZIM User Documentation

The Original Internet Language

SET SINGLESTEP

Steps through a procedure one command at a time, halting after each command. Syntax SET SINGLESTEP ON|OFF Comments When SINGLESTEP is switched ON, execution is halted (by the HALT utility) after each command executed. To resume execution after the HALT, press Enter at the HALT prompt (>>). Compiled application programs are not affected by SET…
Leia mais

$truncate

Truncates a decimal number, making it an integer. Syntax $truncate(number) Parameters number a number, or an expression that evaluates to a number Return Value Number, with no decimal places. Example $truncate(2.49) Evaluates to 2. $truncate(2.99) Evaluates to 2. int1 – $truncate(int1/int2) * int2 Performs int1 modulo int2. Can also be expressed as $modulus(int1,int2). See Also…
Leia mais

$ttrim

Trims trailing blanks from a character string. Syntax $ttrim(string) Parameters string a character string, or any expression that evaluates to a character string Return Value Character string. Comments Use $ttrim to remove trailing spaces from a character string. For output purposes, the implicit length of the result returned by $ttrim is the same as the…
Leia mais

+ (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

pt_BRPortuguese