result = binary ( value ) ;
binary variable [= value] ;
list value
- A value of any type.
binary result
- 0x00 - 0xff
A binary value is 1 byte. It is displayed as a 2 character hex number. All strings convert to a value of 0x01 except when the string begins with a "%", then the binary value is 0x00. When converting to and from binary, char and uchar vector values are preserved.
The STATUS variable is set to $ACKNOWLEDGE
- When the argument is an array variable, all the elements in the array are converted, and the result will be a vector array
%ARGUMENT : Invalid arguments. Usage: binary variable [= value] ;
%IDENTIFIER : 'variable' argument is not a valid identifier, literal, or reference
None