Category: ZIM 4GL Language Reference

The Original Internet Language

$modulus

Calculates one number modulo another. Syntax $modulus(expr1,expr2) Parameters expr1 a number, or an expression that evaluates to a number expr2 a number, or an expression that evaluates to a number Return Value Number, with no decimal places. Comments Expr1 modulo expr2 is the remainder of the division of expr1 by expr2. Before the operation is…
Read more

$UserFunction

Invokes a special function built by the user. Syntax $userfunction(expression-1, expression-2, …) Parameters expression-1 Any value, or an expression that yields any value. expression-2 Any value, or an expression that yields any value. Return Value The return value is determined by the type and length of expression-1. Comments for Windows Environments On Windows environments, the…
Read more

$or

Performs a bit-wise OR of two values. Syntax $or(char1,char2) Parameters char1 a character string, or an expression that evaluates to a character string char2 a character string, or an expression that evaluates to a character string Return Value Character string. Comments The $or function combines the bit patterns of two characters in the fashion of…
Read more

$ServerFunction

Executes server-side functions. Syntax $serverfunction (server specific syntax [«,parameters»]) Parameters server specific syntax A character string or an expression that evaluates to a character string containing a server-specific syntax for execution on the server side. parameters Zero or more expressions to satisfy the usage of the server-specific syntax. Return Value A value created by the…
Read more

$and

Performs a bit-wise AND of two values. Syntax $and(char1,char2) Parameters char1 a character string, or an expression that evaluates to a character string char2 a character string, or an expression that evaluates to a character string Return Value Character string. Comments The $and function combines the bit patterns of two characters in the fashion of…
Read more

$addticks

Calculates a time value by adding ticks to (or subtracting ticks from) a specified time value. Syntax $addticks(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…
Read more

$dirpath

Returns information about the currently accessed application directories. Syntax $dirpath() Return Value Character string. Comments $dirpath returns a character string consisting of the names of all currently accessed application directories and their access types (U for update, R for read). Information about each directory is enclosed in semicolons (;). The directory name appears first, followed…
Read more

$addminutes

Calculates a time value by adding minutes to (or subtracting minutes from) a specified time value. Syntax $addminutes(time,number) where 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…
Read more

$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…
Read more

$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…
Read more

en_CAEnglish