@BINARY |
|
| Top Previous Next | |
Syntax:
@BINARY(<valtype>,<value>)
Description:
The purpose of this function is to allow a binary value to be assigned to a variable.
DialogScript stores all numeric values as strings. This function is intended to be used to store a value in a variable in binary form so it can be passed to a library function which is being called using the @LIB function.
The <valtype> argument may be BYTE, WORD, DWORD or LARGEINT.
| • | BYTE creates an 8-bit value, and is effectively the same as @CHR(<value>). |
| • | WORD creates a 16-bit (2 byte) value. |
| • | DWORD creates a 32-bit (4 byte) value. |
| • | LARGEINT creates a 64-bit (8 byte) value. |
OK:
Unchanged.
See also: