Mitsubishi MELFA CR1D Instruction Manual page 335

Table of Contents

Advertisement

Left$
[Function]
Obtains a string of the specified length starting from the left end.
[Format]
<Character String Variable >=Left$(<Character String>, <Equation>)
[Reference Program]
1 C1$=Left$("ABC",2)
[Explanation]
(1) Obtains a string of the specified length starting from the left end.
(2) An error will be generated if the value is a negative value or is longer than the string.
(3) It is not possible to describe a function that contains an argument in <Character String> and <Equation>.
If such a function is described, an error will be generated during execution.
[Reference]
Mid$,
Right$
Len
[Function]
Returns the length of the string.
[Format]
<Numeric Variable>=Len(<Character String>)
[Reference Program]
1 M1=Len("ABCDEFG")
[Explanation]
(1) Returns the length of the argument string.
[Reference]
Left$, Mid$,
Right$
' "AB" is assigned to C1$.
' 7 is assigned to M1.
4MELFA-BASIC IV
Detailed Explanation of Functions 4-322

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents