HEX()
Action

Returns a string representation of a hexadecimal number.

Syntax

var = Hex( x )

Remarks

Var A string variable.
X A numeric variable such as Byte, Integer or Word.
See also
HEXVAL

Example
Dim a as Byte, S as String * 10
a = 123
s = Hex(a)
Print s
End