proceduresearch
TEXT

The proceduresearch statement searches for text in a procedure.


Parameters

This statement has one parameter:

text – word or phrase to search for.


Description

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

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

proceduresearch "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 proceduresearchexact statement.


See Also


History

VersionStatusNotes
10.0NewNew in this version.