Category: ZIM 4GL Language Reference

The Original Internet Language

$translate

Replaces segments of a character string with new text. Syntax $translate(source,pattern,replace) Parameters source a character string, or an expression that evaluates to a character string pattern a character string, or an expression that evaluates to a character string replace a character string, or an expression that evaluates to a character string Return Value Character string,…
Read more

$copytoclient

Copies files from the server side to the client side. Syntax $copytoclient(source file name, destination file name, file type) where source file name an expression that evaluates to a character string containing a valid file address destination file name an expression that evaluates to a character string containing a valid file address file type an…
Read more

$substring

Extracts a segment of a character string. Syntax $substring(source,position,length) Parameters source a character string, or an expression that evaluates to a character string position a number, or an expression that evaluates to a number length a number, or an expression that evaluates to a number Return Value Character string, containing a string extracted from source,…
Read more

$replace

Replaces a portion of a character string with another character string. Syntax $replace(source,position,length,string) Parameters source a character string, or an expression that evaluates to a character string position a number, or an expression that evaluates to a number length a number, or an expression that evaluates to a number string a character string, or an…
Read more

$compilestatus

Checks if an application program needs to be recompiled. Syntax $compilestatus(docname) Parameters docname the name of an application document (not in quotation marks) Return Value Number, with no decimal places. Comments $compilestatus checks, in order, a series of conditions in relation to docname. As soon as docname fails to meet a condition, $compilestatus returns the…
Read more

$fill

Fills part of a string with a specified character Syntax $fill(source,position,length,string) Parameters source a character string, or an expression that evaluates to a character string position a number, or an expression that evaluates to a number length a number, or an expression that evaluates to a number string a character string, or an expression that…
Read more

$messagebox

Presents a message box to the application user and waits for a response. Syntax $messagebox(message,type,style,defaultbutton[,heading]) Parameters message A character string, or an expression that evaluates to a character string. type A number that determines the type of message box. It also determines the icon that appears in the message box. style A number that determines the…
Read more

$filebrowse

Presents the application user with a File Open common dialog box. Syntax $filebrowse(directorypath, pattern, flags ,[heading]) Parameters directorypath A character string or an expression that evaluates to a character string, naming the default directory path to show in the dialog box. If path is the null string (”), the current directory is used as the…
Read more

$getproperty

Returns the current settings of certain device or registry properties. Syntax #1 Returns the current settings of certain desktop properties. $getproperty(“desktop”,property) Parameters property A character string or an expression that evaluates to a character string. Properties include MousePresent, ScreenColors (or ScreenColours), ScreenHeight, ScreenUnits, and ScreenWidth. Return Value Character string or $null if property is not…
Read more

$setproperty

Changes the settings of certain device properties of the registry variables file. Syntax $setproperty(section, property, newsetting) Parameters section A character string or an expression that evaluates to a character string to indicate the group of properties or registry values that should be changed. property A character string or an expression that evaluates to a character…
Read more

en_CAEnglish