-
Notifications
You must be signed in to change notification settings - Fork 2
_hex
bergsma edited this page Sep 26, 2014
·
5 revisions
#hex
###Create or convert a variable or value into a hex format
Syntax
result = hex value ;
hex variable [= value] ;
Arguments
- list value
A value of any type.
Return Value
hex result
- 0x00000000 - 0xFFFFFFFF : A hex value is 4 bytes.It is displayed as an 8 character hex number.
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 hex result
- 0x00000000 - 0xFFFFFFFF : A hex value is 4 bytes.It is displayed as an 8 character hex number.
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
Exceptions
-
%ARGUMENT: Invalid arguments. Usage: hex variable [= value] ;
-
%IDENTIFIER: 'variable' argument is not a valid identifier, literal, or reference
Description
None
Examples
put hex -1 ;
Related Links