HEX
HEX (x)
Returns the hexadecimal value of x as string.
Example
print hex(255) ' output: FF
print bin(8) ' output: 1000
print oct(16) ' output: 20
Code samples using HEX
String
ASC
BCS
BIN
CBS
CHOP
CHR
DISCLOSE
ENCLOSE
FORMAT
HEX
INSTR
JOIN
LCASE
LEFT
LEFTOF
LEFTOFLAST
LOWER
LTRIM
MID
OCT
REPLACE
RIGHT
RIGHTOF
RIGHTOFLAST
RINSTR
RTRIM
SINPUT
SPACE
SPC
SPLIT
SPRINT
SQUEEZE
STR
STRING
TRANSLATE
TRIM
UCASE
UPPER
VAL
If there is insufficient information on this page and you wish learn more about HEX,
please send an email to smallbasic@gmail.com. You can help to improve information about
HEX by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.