Hex
Function Hex( numeric expression )
Returns an 8 character string consisting of the hexadecimal value of numeric expression
Syntax a = Hex(9999 + 2)
Remarks
Hex accepts values in the 32 bit integer range and returns a character string representing the hex value.
See Also
Conversion Functions String Functions
Example Script
' let's count to 20 in hex.
NUMBER i
FOR i = 1 TO 20
PRINT HEX(i)
NEXT
Script Output
00000001
00000002
00000003
00000004
00000005
00000006
00000007
00000008
00000009
0000000A
0000000B
0000000C
0000000D
0000000E
0000000F
00000010
00000011
00000012
00000013
00000014