Category: Functions

The Original Internet Language

$iszimname

Tests if a character string is a valid object name. Syntax $iszimname(string) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if string meets the validation test; otherwise, evaluates to 0 ($False). Comments This function tests if a particular character string…
Read more

$weekday

Determines the day-of-the-week number associated with a specified date value. Syntax $weekday(date) Parameters date a date, 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 $weekday(19981225) Evaluates to “7”. $weekday($date+7)…
Read more

$isnumber

Tests if an expression produces a valid number after its evaluation. Syntax $isnumber(expression) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if string meets the validation test; otherwise, evaluates to 0 ($False). Comments This function tests if a particular character…
Read more

$toord

Converts a character into its ordinal number value. Syntax $toord(char) Parameters char a character string, or any expression that evaluates to a character string Return Value Number. Comments Each of the decimal numbers from 0 to 255 represents a character output by your workstation. $Toord converts the given character to the corresponding decimal number. If…
Read more

$isupper

Tests if the letters in a character string are uppercase. Syntax $isupper(string) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if string meets the validation test; otherwise, evaluates to 0 ($False). Comments This function tests if a particular character string…
Read more

$isalphabetic

Tests if a character string contains only letters. Syntax $isalphabetic(string) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if string meets the validation test; otherwise, evaluates to 0 ($False). Comments This function tests if a particular character string is alphabetic.…
Read more

$islower

Tests if the letters in a character string are lowercase. Syntax $islower(string) Parameters string a character string or an expression that evaluates to a character string Return Value 1-character binary string. Evaluates to 1 ($True) if string meets the validation test; otherwise, evaluates to 0 ($False). Comments This function tests if a particular character string…
Read more

$value

Provides a default value for an expression that can be $Null. Syntax $value(expression1,expression2) Parameters expression1 any expression expression2 any expression Return Value Same as the selected expression. Comments If expression1 is not $Null, $value returns the value of expression1; otherwise, it returns the value of expression2. Example detail line “Employee Number: ” $value(EmpNum,”N/A”) Traps $Null…
Read more

$StartPath

File system path where one of the Zim executables started. Return Value A character string. Cannot be reset by an application program. Example C:\MyDirSubDir> zxclient -n mybase After invoking ZXCLIENT, in the prompt: > OUTPUT $startpath C:\MyDirSubDir See Also $ClipPath $DBPath $ImagePath $WorkPath $ZimPath $UserPath

$dayname

Determines the day name associated with a specified date value. Syntax $dayname(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. The values returned by the $dayname…
Read more

en_CAEnglish