Value: numeric The list of values. Multiple values are separated by a semicolon.
numeric := lg
Syntax
(Value: numeric)
Description
Get the base 2 binary logarithm of a value.
Example
x = lg (4)
MessageBox (Caption:"Example"; Message:" lg (4) = "+ x; Style:OK!)
Return Value
Base 2 binary logarithm of a value.
Parameters
Value: numeric Return the binary logarithm of this value.
boolean := any LIKE any
Syntax
Operator. Precedence level 6. Performs an equality comparison.
Example
bool = 2+3 LIKE 3+2
MessageBox (Caption:"Example"; Message:" 2+3 LIKE 3+2 = "+ bool; Style:OK!)
Return Value
True if both operands are the same, False if not. Strings are not case sensitive.
numeric := ln
Syntax
(Value: numeric)
Description
Get the base 'e' (natural or napierian) logarithm of a value.
Return Value
Base 'e' logarithm of a value.
Parameters
Value: numeric Return the natural logarithm of this value.
Local
Example
Syntax
({<VariableName> variable := <Value> any})
Description
Declare local variables and arrays, and assign them to the local variable table.
Variables are Local by default. The Local variable table is removed from memory when the current routine in the macro ends.
Parameters
<VariableName> variable One or more user-defined variables separated by a semicolon. Variables must begin with a letter and can include any other combination of letters or numbers. Separate multiple variables with a semicolon. Parentheses are optional. For example,
Local VariableName; VariableName
Local(VariableName; VariableName)
are both valid statements. The next example declares local arrays with 10 elements and 20 elements:
Local FirstArray[10]; NextArray[20]
The last example simultaneously declares a variable and assigns a value:
Local x := 2
or...
Local x
x := 2
If you create two variables with the same name (for example, Global x and Local x), the following statement
Local x := 5
specifies which variable x is assigned the value 5.
<Value> any (optional) The value assigned to <Variable> at time of declaration. For example, Local vTest = 20. vTest equals 20 at run time. If missing, the value of <Variable> is undefined.
numeric := log
Syntax
(Value: numeric)
Description
Get the base 10 (common) logarithm of a value.
Return Value
Base 10 logarithm of a value.
Parameters
Value: numeric Return the common logarithm of this value.
numeric := logn
Syntax
(Value: numeric; Base: numeric)
Description
Get the base n logarithm of a value.
Return Value
Base n logarithm of a value.
Parameters
Value: numeric Return the logarithm of this value.
Base: numeric The base of the logarithm to return.