HEX

Top  Previous  Next

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 , VAL , STR

 

 

Example

Dim A As Byte , S As String * 10

A = 123

S = Hex(a)

Print S

End