Category: Functions

The Original Internet Language

$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

$year

Extracts the year number associated with a specified date value. Syntax $year(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 $year(19981225) Evaluates to “1998”. $year($date…
Read more

en_CAEnglish