SearchDown command

From m204wiki
Jump to navigation Jump to search


Action:

Searches down (relative to the current line) in the current main window page for the search string you specify in the command. Repeating the command locates the next occurrence of the search string. The search is not case sensitive.

Optionally, searches down for the search string in the Client window you specify as the value of the command's In window prefix.

Syntax:

[in window] searchDown search_string

where:

  • window is one of the following keywords, not case sensitive, which identify a Client window. Links are provided to help identify the less common windows:
about 
auditTrail
commands 
console 
executionHistory 
executionTrace 
keyboardShortcuts
source  
textviewer  
value 
watchWindow 
webBuffer 
  • search_string is the required search string, with no additional quotation marks.

To locate a target string that begins with an ampersand (&) and is not the name of a macro variable or Client function, prefix the target with a backslash (\) to treat the ampersand as a literal.

To locate a single backslash character, escape the target backslash with a second backslash (searchDown \\).

Command examples:

in WatchWindow searchDown %y

searchDown &a  

(searches for value of macro variable &a)

in auditTrail searchDown \&&myProc

(searches for string '&&myProc')

Related commands include: searchUp, searchFromTop, searchFromBottom

Client menu: Search > Search Down
Introduced: --