SEARCH

Search the source for a string

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
SEARCH string
SEARCH string line# count
SEARCH/ALL string

string

Searches from the current line for string.

string line# count

Searches count lines for string, starting with source line line#.

/ALL string

Searches all lines within the module for string.

The SEARCH command searches the current source module for the specified string.

If line# is “>”, the current debug entry line is used. If line# is “.”, the current source line is used. Only lines within the current module are searched, so a line# of 1 searches from the module’s first line and a large line# searches the last line. After listing, the current source line is set to the next line to be listed. The current source line is set to the entry line on each debug entry.

The following example searches the current module for the string “var1.” All source lines that contain “var1” are displayed.

SEARCH var1