Category: Functions

The Original Internet Language

$soundex

Generates the “sounds-like” value of a string. Syntax $soundex(source) Parameters source a character string, or an expression that evaluates to a character string Return Value Character string (alpha). Comments $soundex yields a “sounds-like” value for source. The value is created using an heuristic algorithm and is based on English pronunciation. When $soundex is applied to…
Read more

$copytoserver

Copies files from the client side to the server side. Syntax $copytoserver(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

$currentmember

Returns the position of the current member of a result set. Syntax $currentmember(setname) Parameters setname a character string, or an expression that evaluates to a character string, being the name of a result set Return Value Number, with no decimal places. Comments $currentmember returns the (numerical) position of the current member within the specified result…
Read more

$tochr

Converts an ordinal number into a character. Syntax $tochr(number) Parameters number a number, or an expression that evaluates to a number Return Value Each of the decimal numbers from 0 to 255 represents a character output by your workstation. $tochr converts a given number to the corresponding character. Note: The ascii character 0 returns an…
Read more

$addyears

Calculates a date value by adding years to (or subtracting years from) a specified date value. Syntax $addyears(date,number) Parameters date a date, or an expression that evaluates to a DATE data type number a number, or an expression that evaluates to a number Return Value Number, representing a DATE value. Comments Use $addyears to perform…
Read more

$screensave

Captures a bitmap image of the screen and writes it to a file. Syntax $screensave(filename) Parameters filename a character string, or an expression that evaluates to a character string Return Value Returns “1” ($True) if no errors were detected when the image was written to filename. Otherwise, returns “0” ($False). Comments Filename must be the…
Read more

$transmitkey

The name of the last EXIT or TRANSMIT key pressed. Syntax $transmitkey Return Value Character string. Comments EXIT and TRANSMIT keys are defined using the FORM SET or WINDOW SET ACCELERATOR commands. Normally, a TRANSMIT key cannot terminate FORM INPUT while a “required” field has no value. However, if TRANSMIT key is pressed while the…
Read more

$printersetup

Displays the Printer Setup common dialog box. Syntax $printersetup() Return Value Evaluates to “1” ($True) if no errors were detected in the dialog. Otherwise, evaluates to “0” ($False). Comments This function is available only on Windows systems. The Printer Setup common dialog box contains a list of printers mounted to your Windows network. To access…
Read more

$ObjGetProperty

Get the properties of an ActiveX object. Syntax $ObjGet[Property] (Object, PropertyName,<>) Parameters Object an object variable or formfield of type OLE PropertyName a string or an expression that evaluates to a string Parameters optional parameters as per the object’s specifications Return Value Returns a result that can be a string or an ActiveX object. Comments…
Read more

$ObjEventParameter

Obtain information about a particular parameter created by the current event raised by a COM component. Syntax $ObjEventParameter (ParameterNumber) Return Value Returns a result that can be a component object or a string for the passed parameter number. Comments The Event structure displays information about the last event that caused form input to terminate. The…
Read more

en_CAEnglish