16 bit-wise operations, 17 built-in types, 16 bit-wise operations 5.17 built-in types – Rice Lake iRite IDE User Manual
Page 80

76
920i
Programming Reference
Log10
Returns the value of log
1 0
(x).
Method Signature:
function Log10 (x : Real) : Real;
Sign
Returns the sign of the numeric operand. If x < 0, the function returns a value of –1; otherwise, the value returned
is 1.
Method Signature:
function Sign (x : Real) : Integer;
Sin
Returns the sine of x. x must be specified in radians.
Method Signature:
function Sin (x : Real) : Real;
Sqrt
Returns the square root of x.
Method Signature:
function Sqrt (x : Real) : Real;
Tan
Returns the tangent of x. x must be specified in radians.
Method Signature:
function Tan (x : Real) : Real;
5.16 Bit-wise Operations
BitAnd
Returns the bit-wise AND result of X and Y.
Method Signature:
function BitAnd (X : Integer; Y : Integer) : Integer;
BitNot
Returns the bit-wise NOT result of
X
.
Method Signature:
function BitNOT (X : Integer) : Integer;
BitOr
Returns the bit-wise OR result of X and Y.
Method Signature:
function BitOr (X : Integer; Y : Integer) : Integer;
BitXor
Returns the bit-wise exclusive OR (XOR) result of X and Y.
Method Signature:
function BitXor (X : Integer; Y : Integer) : Integer;
5.17 Built-in Types
BatchingMode
type BatchingMode is (Off, Auto, Manual);
BatchStatus
type BatchStatus is (BatchComplete, BatchStopped, BatchRunning, BatchPaused);