Lbin Function

Top  Previous  Next

 

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

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

Examples

 

dim s as string

 

s = lbin(2863311530) ' result will be '&b10101010101010101010101010101010'