EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 423

Mitsubishi Electric CR760-D
730 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...
4MELFA-BASIC V
Detailed Explanation of Functions 4-403
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