Category: ZIM 4GL Language Reference

The Original Internet Language

$iswinopen

Determines if a particular window is currently open for use. Syntax $iswinopen(string) Parameters string a character string or an expression that evaluates to a character string Return Value Evaluates to “1” ($True) if string is the name of a window that is currently open; otherwise, evaluates to “0” ($False). Comments Use the value of the…
Read more

$minutes

Extracts minutes information from a standard time value. Syntax $minutes(time) Parameters time an 8-digit number, or an expression that evaluates to an 8-digit number, expressing valid time in the form HHMMSSTT Return Value Number. Comments The system variable $Time is often used for time. Example $minutes($Time) Evaluates to 59 when $Time has the value 23595999.…
Read more

$seconds

Extracts seconds information from a standard time value. Syntax $seconds(time) Parameters time an 8-digit number, or an expression that evaluates to an 8-digit number, expressing valid time in the form HHMMSSTT Return Value Number. Comments The system variable $Time is often used for time. Example $seconds($Time) Evaluates to 59 when $Time has the value 23595999.…
Read more

$log10

Determines which exponent of base 10 yields a given value. Syntax $log10(number) Parameters number a positive number or an expression that evaluates to a positive number Return Value Number, with the same number of decimal places as number. Example let var1=$log10(100) The above expression means “the exponent of base 10 that yields the value 100”…
Read more

SET RUNTIME

Determines if compiled versions of application programs are to be executed. Syntax SET [LOCAL] RUNTIME ON|OFF Comments Specifies if the Runtime system is to be available for program execution. When RUNTIME is set OFF, compiled programs are treated as if they are not compiled. A SET LOCAL RUNTIME command can be used inside a program…
Read more

$log

Determines which exponent of the natural base (e) yields a given value. Syntax $log(number) Parameters number a positive number or an expression that evaluates to a positive number Return Value Number, with the same number of decimal places as number. Example $log(7.389) The above expression means “the exponent of the natural base that yields the…
Read more

$hours

Extracts “hours” information from a standard time value. Syntax $hours(time) Parameters time an 8-digit number, or an expression that evaluates to an 8-digit number, expressing valid time in the form HHMMSSTT Return Value Number. Comments The system variable $Time is often used for time. Example $hours($Time) Evaluates to 23 when $Time has the value 23595999.…
Read more

SET STRATEGY

Controls tracing of retrieval strategy information. Syntax SET STRATEGY ON|OFF Comments The SET STRATEGY command is OFF by default. When SET STRATEGY is set ON, the software displays the chosen retrieval strategy for each command that accesses the database (i.e., FIND, COMPUTE, LIST, REPORT FROM, CHANGE, ADD, DELETE, SELECT, UPDATE). The retrieval strategy information is…
Read more

$LastErrMessage

The error message generated by the last command that returned an error code. Syntax $lasterrmessage Value A character string. Can be reset by an application program. Description $Null at the beginning of each application session. The value changes only if an error occurs, or if the application program explicitly assigns a value. When non-$Null, the…
Read more

$sinh

Calculates the hyperbolic sine of a number. Syntax $sinh(number) Parameters number a number, or an expression that evaluates to a number, representing an angle (in radians) Return Value Number, with the same number of decimal places as number. Comments This function calculates the hyperbolic sine of a number. Example let vAngle = $sinh(3.000) Evaluates to…
Read more

en_CAEnglish