Mitsubishi Electric CR750-Q Instruction Manual page 423

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

Bin$
[Function]
Value is converted to a binary string.
[Format]
<Character String Variable >=Bin$(<Equation>)
[Reference Program]
1 M1=&B11111111
2 C1$=Bin$(M1)
[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
' C1$ will contain the character string of "11111111".
Detailed Explanation of Functions 4-403
4MELFA-BASIC V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents