BinString

Prev Next Home Home Table Of Contents Index

BinString (Number, Length) : String

BinString converts a number into a base 2 binary string. If Length > 0 then the number will have enough leading zeros to make it Length long. If Length = 0 then leading zeros are removed. Length must be 32 or less.


Example:
Writeln BinString(45,8) ;returns 00101101 Writeln BinString(45,0) ;returns 101101

See Also: HexString

Category: String

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home