Skip to main content

Not Follows ('])

Tests if the left operand does not follow the right operand in ASCII collating sequence.

Details

You can produce a Not Follows operation by using the Not operator with Follows in either of the following equivalent formats:

operand A ']operand B  
'(operand A ] operand B) 

If all characters in the operands are identical or if the first unique character in operand A has a lower ASCII value that the corresponding character in operand B, the Not Follows operation returns a result of TRUE. If the first unique character in operand A has a higher ASCII value that the corresponding character in operand B, the Not Follows operation returns a result of FALSE.

Examples

In the following example, because C in CDE does follow A in ABC, the result is FALSE.

 WRITE "CDE"']"ABC",!
 WRITE '("CDE"]"ABC")

returns FALSE (0).

FeedbackOpens in a new tab