EasyManua.ls Logo

Mitsubishi MELFA CR1D - Page 324

Mitsubishi MELFA CR1D
458 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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>)

Table of Contents

Related product manuals