lbin Function

Function:

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

Syntax:

lbin(byref num as dword) as string

See Also:

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


Part

Description

num

Value to convert.


Details

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


Examples

Tibbo BASIC
dim s as string
 
s = lbin(2863311530) 'result will be '&b10101010101010101010101010101010'

lbin Function

Details

Examples