Project

General

Profile

$didwm » History » Version 6

Per Amundsen, 02/16/2023 09:34 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$didwm([name],id,wildtext,[N])*
4
5 5 Per Amundsen
Returns the number of the line that matches the [[Scripting_Wildcards|wildtext]], with the search starting at line N.
6 1 Per Amundsen
7
*Parameters*
8 6 Per Amundsen
9
table(ktable).
10
|*Parameter*|*Description*|
11
| [name] | If specified, name of the dialog otherwise [[$dname]] from the current [[Scripting_Events<notextile>|</notextile>event]] is used. (optional) |
12
| id | Id of the dialog item. |
13
| wildtext | The [[Scripting_Wildcards<notextile>|</notextile>wildtext]] to search. |
14
| [N] | If N = 0, number of matches, otherwise the Nth match. (optional) |