lhex Function

Function:

Converts unsigned 32-bit numeric value (dword) into its HEX string representation.

Syntax:

lhex(byref num as dword) as string

See Also:

str, lstr, stri, lstri, bin, lbin, hex, val, lval


Part

Description

num

Value to convert.


Details

The standard "&h" prefix is added at the beginning of the string.


Examples

Tibbo BASIC
dim s as string
 
s = lhex(65536) 'result will be '&h10000'

lhex Function

Details

Examples