4-311   Detailed Explanation of Functions
4MELFA-BASIC IV
Bin$
[Function]
Value is converted to a binary string. 
[Format]
[Reference Program]
 1 M1=&B11111111
 2 C1$=Bin$(M1) ' C1$ will contain the character string of "11111111".
[Explanation]
(1) Value is converted to a binary string. 
(2) If the equation does not evaluate to an integer, the integral value obtained by rounding the fraction will be 
converted to a binary string. 
(3) Val is a command that performs the opposite of this function. 
[Reference]
Hex$, Str$, Val
<Character String Variable >=Bin$(<Equation>)