Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Negative searches

&pagelevel(4)&pagelevel

If the keyword NOT is specified in the @ON statement then the records and/or string variables which do not contain the search term are identified. This is described in detail for the individual formats of the @ON statement.

Example

The work file contains the following lines:

1.ABCD
2.ABCE
3.ABDE
4.ACDE

With @ON & PRINT NOT 'AB' only the 4th line would be output.

With @ON & PRINT NOT 'ABC', the 3rd and 4th line would be output.