Bin()

Syntax

Result$ = Bin(Value)
Description
Convert a numeric number into a string, in binary format. Larger numbers (Quads) can be handled by the BinQ() command.

Example :
  Debug Bin(32) ; Will display "100000"
Note: If leading zero are needed in the output string, use the RSet() command as follows:
  Debug RSet(Bin(32),16,"0") ; Will display "0000000000100000"

Supported OS

Windows, Linux, MacOS X

<- Asc() - String Index - BinQ() ->