Mitsubishi MELFA CR1D Instruction Manual page 324

Table of Contents

Advertisement

4MELFA-BASIC IV
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
4-311 Detailed Explanation of Functions
' C1$ will contain the character string of "11111111".

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents