Category: Functions

The Original Internet Language

$tan

Calculates the tangent of a number. Syntax $tan(number) Parameters number a number or an expression that evaluates to a number Return Value Number, with the same number of decimal places as number. Ensure that you specify enough decimal places in your equation to ensure a sufficiently granular result. Unusual results such as -0 are an…
Read more

$cos

Calculates the cosine of a number. Syntax $cos(number) Parameters number a number, or an expression that evaluates to a number Return Value Number, with the same number of decimal places as number. Comments The value returned by this function has the same number of decimal places as number. Ensure that you specify enough decimal places…
Read more

$atan2

Calculates the arctangent (in radians) of the quotient of two numbers. Syntax $atan2(number1,number2) Parameters number1 a number, or an expression that evaluates to a number number2 a number, or an expression that evaluates to a number Return Value Number, with the same number of decimal places as number1. Comments Number1 is divided by number2 before…
Read more

$concat

Builds a single character string out of separate character strings. Syntax $concat(string[«,string»]) Parameters string A character string or an expression that evaluates to a character string. Each string must be separated from the next by a comma (,). Return Value Character string. Comments The function builds a single character string out of separate strings. Example…
Read more

$modulus

Calculates one number modulo another. Syntax $modulus(expr1,expr2) Parameters expr1 a number, or an expression that evaluates to a number expr2 a number, or an expression that evaluates to a number Return Value Number, with no decimal places. Comments Expr1 modulo expr2 is the remainder of the division of expr1 by expr2. Before the operation is…
Read more

$UserFunction

Invokes a special function built by the user. Syntax $userfunction(expression-1, expression-2, …) Parameters expression-1 Any value, or an expression that yields any value. expression-2 Any value, or an expression that yields any value. Return Value The return value is determined by the type and length of expression-1. Comments for Windows Environments On Windows environments, the…
Read more

$or

Performs a bit-wise OR of two values. Syntax $or(char1,char2) Parameters char1 a character string, or an expression that evaluates to a character string char2 a character string, or an expression that evaluates to a character string Return Value Character string. Comments The $or function combines the bit patterns of two characters in the fashion of…
Read more

$ServerFunction

Executes server-side functions. Syntax $serverfunction (server specific syntax [«,parameters»]) Parameters server specific syntax A character string or an expression that evaluates to a character string containing a server-specific syntax for execution on the server side. parameters Zero or more expressions to satisfy the usage of the server-specific syntax. Return Value A value created by the…
Read more

$and

Performs a bit-wise AND of two values. Syntax $and(char1,char2) Parameters char1 a character string, or an expression that evaluates to a character string char2 a character string, or an expression that evaluates to a character string Return Value Character string. Comments The $and function combines the bit patterns of two characters in the fashion of…
Read more

$addticks

Calculates a time value by adding ticks to (or subtracting ticks from) a specified time value. Syntax $addticks(time,number) Parameters time an 8-digit number, or an expression that evaluates to an 8-digit number, that expresses a valid time value in the format HHMMSSTT number a number, or an expression that evaluates to a number Return Value…
Read more

en_CAEnglish