proceduresearchnext
TEXT

The proceduresearchnext statement searches for text in a procedure, starting from the current location.


Parameters

This statement has one parameter:

text – word or phrase to search for.


Description

This statement searches for text in a procedure window, starting from the current location. If the search fails to match, it returns an error.

This example searches for the word magic, starting from the current location. If the search fails, the program beeps and stops.

proceduresearchnext "magic"
if error
    beep
    stop
endif

This statement searches for a case insensitive match. In the example above, the word magic will match, and so will Magic or MAGIC. If you want a case sensitive search, use the proceduresearchnextexact statement.


See Also


History

VersionStatusNotes
10.0NewNew in this version.