Category: ZIM 4GL Language Reference

The Original Internet Language

RightClick

The right mouse button can be used to generate a RightClick event when a widget has the “RightClick” transmit property. The RightClick transmit property can be set in the Zim Screen Painter. Widgets that have the RightClick property cause FORM INPUT to terminate when they are clicked by the right mouse button. When the RightClick…
Read more

SET EOFVALUE

Specifies an end-of-file indicator for application documents. Syntax SET EOFVALUE character_constant|OFF Parameters character_constant Any valid character constant. If encountered during the read of an application document, the string raises an end-of-file condition. Comments The EOFVALUE option is set OFF by default (no character is recognized as an end-of-file). The EOFVALUE option enables you to specify…
Read more

$ErrLevel

The error severity level generated by the last command executed. Syntax $errlevel Value A number (0 to 4.) Can be reset by an application program. Description The error severity level of the most recently executed command. Value Meaning 0 No error. 1 Information message. 2 Warning. 3 User error. 4 System error. See Also $ErrCode…
Read more

INTERSECT

INTERSECT Isolates the common members of two or more result sets. Syntax set1 INTERSECT set2 Parameters set1 A result set produced from the execution of a set-producing command. All sets in the command must have the same component structure. set2 A result set produced from the execution of a set-producing command. All sets in the…
Read more

SET TRACE

Controls command tracing. Syntax SET [LOCAL] TRACE ON|OFF Parameters LOCAL Indicates that command tracing is to be switched ON or OFF at the “local” level only. Comments The SET TRACE command controls command tracing. When TRACE is switched ON, each line of a procedure is displayed as it is executed. Each line is preceded by…
Read more

DDEDisconnect

DDEDisconnect Terminate access to the remote application. Syntax procedure DDEDisconnect (out tErrCode, inout tServ) Parameters tErrCode longint, an error code tServ longint, connection handle Comments DDEDisconnect terminates the access to the remote application. The filename is ddedisc.pgm. Example For example, given that DDE_Err and hServ are of type longint and that hServ has been set…
Read more

$filepath

$filepath Returns the path of the disk file associated with a specified object. Syntax $filepath(objname) Parameters objname The name of an EntitySet, relationship, application directory, or application document. Return Value The $filepath function returns a character string containing the path to the disk file that contains the specified object. AREAS.ZIM or DIRS.ZIM entries that apply…
Read more

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

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

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

en_CAEnglish