Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-145
Mathematical Operations and Commands
LN
Type:
Mathematical Function
Syntax:
LN(expression)
Description:
Returns the natural logarithm of the expression.
Parameter:
Any valid Trio BASIC expression.
MOD
Type:
Mathematical Function
Syntax:
MOD(expression)
Description:
Returns the integer modulus of an expression.
Example:
>>PRINT 122 MOD(13)
5.0000
>>
NOT
Type:
Mathematical Function
Description:
The
NOT
function truncates the number and inverts all the bits of the integer
remaining.
Parameter:
Example:
PRINT 7 AND NOT(1.5)
6.0000
>>
expression:
Any valid Trio BASIC expression.