Mitsubishi MELFA CR1D Instruction Manual page 352

Table of Contents

Advertisement

4MELFA-BASIC IV
Val
[Function]
Converts the value in the string into a numerical value.
[Format]
<Numeric Variable>=Val(<Character String Expression>)
[Reference Program]
1 M1=Val("15")
2 M2=Val("&B1111")
3 M3=Val("&HF")
[Explanation]
(1) Converts the given character string expression string into a numerical value.
(2) Binary (&B), decimal, and hexadecimal (&H) notations can be used for the string.
(3) In the example above, M1, M2 and M3 evaluate to the same value (15).
[Reference]
Bin$, Hex$,
Str$
4-339 Detailed Explanation of Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents