proceduresearchnextexact
proceduresearchnextexact
TEXT

The proceduresearchnextexact 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.

    proceduresearchnextexact "magic"
    if error
        beep
        stop
    endif

This statement searches for an exact match. In the example above, only the word magic will match, not Magic or MAGIC. If you want a case insensitive search, use the proceduresearchnext statement.

See Also

- info("procedureselectedtext") -- returns the selected source code in the current procedure window.
- info("procedureselectionend") -- returns the ending position of the selected source code in the current procedure window.
- info("procedureselectionlength") -- returns the length of the selected source code in the current procedure window.
- info("procedureselectionstart") -- returns the starting position of the selected source code in the current procedure window.
- info("proceduretext") -- returns the source code in the current procedure window.
- procedureinsertfieldname -- inserts a field name into a procedure, adding chevrons if necessary.
- procedureinsertformname -- inserts a form name into a procedure, adding quotes.
- procedureinsertprocedurename -- inserts a procedure name into a procedure, adding quotes if necessary.
- procedureinserttext -- inserts text into the current procedure.
- proceduresearch -- searches for text in a procedure.
- proceduresearchexact -- searches for text in a procedure.
- proceduresearchnext -- searches for text in a procedure, starting from the current location.
- proceduresetselection -- changes the text selection in the current procedure editor window.

History

Version | Status | Notes
10.0 | New | New in this version.