SearchDown command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| Searches down (relative to the current line) in the current main window page for the...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="775px"|
[[search_facility.html#search_next|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.  
[[Search facility#The Search Next button|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.  
Optionally, searches down for the search string ''in the Client window you specify'' as the value of the command's In ''window'' prefix.  
Line 15: Line 15:


*''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:
*''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:
:: <span class="f_CodeExList">[[help_menu_opts.html#about_opt|about]] </span><br />
:: <span class="f_CodeExList">[[Help menu options|about]] </span><br />
:: <span class="f_CodeExList">auditTrail</span><br />
:: <span class="f_CodeExList">auditTrail</span><br />
:: <span class="f_CodeExList">[[help_menu_opts.html#commands_opt|commands]] </span><br />
:: <span class="f_CodeExList">[[Help menu options|commands]] </span><br />
:: <span class="f_CodeExList">console </span><br />
:: <span class="f_CodeExList">console </span><br />
:: <span class="f_CodeExList">[[display_stmt_history.html|executionHistory]] </span><br />
:: <span class="f_CodeExList">[[Displaying a statement history|executionHistory]] </span><br />
:: <span class="f_CodeExList">executionTrace </span><br />
:: <span class="f_CodeExList">executionTrace </span><br />
:: <span class="f_CodeExList">[[help_menu_opts.html#keyboard_scuts|keyboardShortcuts]]</span><br />
:: <span class="f_CodeExList">[[Help menu options|keyboardShortcuts]]</span><br />
:: <span class="f_CodeExList">source  </span><br />
:: <span class="f_CodeExList">source  </span><br />
:: <span class="f_CodeExList">[[copying_printing_saving_text.html|textviewer]]  </span><br />
:: <span class="f_CodeExList">[[Copying, printing, or saving text|textviewer]]  </span><br />
:: <span class="f_CodeExList">[[displaying_variable_values.html|value]] </span><br />
:: <span class="f_CodeExList">[[Displaying temporarily the value of a program data item|value]] </span><br />
:: <span class="f_CodeExList">watchWindow </span><br />
:: <span class="f_CodeExList">watchWindow </span><br />
:: <span class="f_CodeExList">webBuffer </span>
:: <span class="f_CodeExList">webBuffer </span>
Line 31: Line 31:


To locate a target string that begins with an ampersand (&amp;) 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 target string that begins with an ampersand (&amp;) 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 \\).  
<span class="f_ListContinue">To locate a single backslash character, escape the target backslash with a second backslash (</span><span class="f_Monospace">searchDown \\</span><span class="f_ListContinue">). </span>


<span class="f_Para">Command examples:</span>
<span class="f_Para">Command examples:</span>


<p class="syntax">in WatchWindow searchDown %y </p>
<p class="syntax">in WatchWindow searchDown %y  
<p class="syntax">searchDown &amp;a   </p>
searchDown &amp;a   </p>
: (searches for value of macro variable &amp;a)
: (searches for value of macro variable &amp;a)
<p class="syntax">in auditTrail searchDown \&amp;&amp;myProc </p>
<p class="syntax">in auditTrail searchDown \&amp;&amp;myProc </p>

Latest revision as of 04:19, 9 February 2023

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: --