Bin$

Takes two parameters, SourceValue, Width

Description:

Return the binary representation of any value. The optional second parameter of Width may specify the number of digits to output, with left padded zeros.

Example:

[New] AsBin = Bin$ 10 'Results in 1010
[New] AsBin8Bit = Bin$ 10, 8 'Results in 00001010