Mitsubishi Electric CR750-Q Instruction Manual page 437

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

Advertisement

Min
[Function]
Obtains the minimum value.
[Format]
<Numeric Variable>=Min(<Equation 1>, <Equation 2>, ......)
[Reference Program]
1 M1=Min(2,1,3,4,10,100)
[Explanation]
(1) Returns the minimum value among the arbitrary number of arguments.
(2) The length of this instruction can be up to the number of characters allowed in a single line (123 charac-
ters).
(3) It is not possible to describe a function that contains an argument in <Equation 1>, <Equation 2> and ....
. If such a function is described, an error will be generated during execution.
[Reference]
Max
Mirror$
[Function]
Inverts the bit string representing each character code of the string in binary, and obtains the character-
coded string.
[Format]
<Character String Variable >=Mirror$(<Character String Expression>)
[Reference Program]
1 C1$=Mirror$("BJ")
[Explanation]
(1) Inverts the bit string representing each character code of the string in binary, and obtains the character-
coded string.
' 1 is assigned to M1.
' "RB" is assigned to C1$.
' "BJ" =&H42,&H4A=&B01000010,&B01001010.
' Inverted =&H52,&H42=&B01010010,&B01000010.
' Output ="RB".
Detailed Explanation of Functions 4-417
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