&&searchResult: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Returns the line number of the line that contained the found string, if the last Client search operat...")
 
No edit summary
 
Line 3: Line 3:
|width="50%"| '''Action:'''
|width="50%"| '''Action:'''
|width="50%"|
|width="50%"|
<span class="f_Para">Returns the line number of the line that contained the found string, if the last Client search operation (invoked by </span><span class="f_GUIlabel">Search</span><span class="f_Para"> button or command) successfully found something. If the last search found nothing, or if there was no prior search, then &amp;&amp;searchResult returns '''-1'''.
<span class="f_Para">Returns the line number of the line that contained the found string, if the last Client search operation (invoked by </span><span class="f_GUIlabel">Search</span><span class="f_Para"> button or command) successfully found something. If the last search found nothing, or if there was no prior search, then ''&amp;&amp;searchResult'' returns '''-1'''.


'''Syntax:'''
'''Syntax:'''

Latest revision as of 17:36, 23 August 2022

Action:

Returns the line number of the line that contained the found string, if the last Client search operation (invoked by Search button or command) successfully found something. If the last search found nothing, or if there was no prior search, then &&searchResult returns -1.

Syntax:

&&searchResult 

This function considers the numbering of the lines in a Client tab's display to start with 0.

Introduced: Build 48