199
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
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:
,
,
,
,
,
,
Part
Description
num
Value to convert.
Details
Standard "&h" prefix is added at the beginning of the string.
Examples
dim
s
as
string
s = hex(65536)
'result will be '&h10000'
Lstr Function
Function:
Converts unsigned 32-bit numeric value (dword) into its
decimal string representation.
Syntax:
lstr(byref num as dword) as string
See Also:
,
,
,
,
,
,
Part
Description
num
Value to be converted to string.
Details
Can be invoked implicitly, through the string_var= dword_var expression (see
example below). Compiler is smart enough to pre-calculate constant-only
expressions involving implicit use of lstr function.
Examples
207
199
208
200
190
197
195
210
200
207
208
200
190
197
195
199
210
200