Mitsubishi Electric CR750-Q Instruction Manual page 434

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

Advertisement

4MELFA-BASIC V
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$
4-414 Detailed Explanation of Functions
' "AB" is assigned to C1$.
' 7 is assigned to M1.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents