|
|||||||||||||||
Technical Support On-Line Manuals Ax51 User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Comparison FunctionsThe MPL comparison functions compare two string arguments and return a value based on the comparison. If the function evaluates to TRUE, the function returns a value of 1. If the function evaluates to FALSE, the function returns a value of 0. The arguments to these functions may contain macro calls (which are expanded before the comparison occurs).
Examples %EQS (Ax51, Ax51) The above comparison is FALSE (0). The space after the comma is part of the second argument. %LTS (Ax51,ax51) The above comparison is TRUE (1). The lowercase characters have a higher ASCII value than the uppercase characters. %GTS (10,16) The above comparison is FALSE (0). These macros compare strings—not numerical values. ASCII character 6 is greater than ASCII character 1. %GES (ax51,ax51 ) The above comparison is FALSE (0). The space at the end of the second argument makes the second argument greater than the first. %*DEFINE (VAR1) (Ax51) %*DEFINE (VAR2) (%VAR1) %EQS (%VAR1,%VAR2) The above comparison is TRUE (1). The EQS Macro arguments expand to %EQS(Ax51,Ax51). | ||||||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.