Difference between revisions of "$fline"

From Scriptwiki
Jump to: navigation, search
Line 12: Line 12:
[[Category:Custom Windows]]
[[Category:Custom Windows]]
[[Category:Window Identifiers]]

Latest revision as of 10:43, 3 February 2011

Returns the number of the line in a custom window that matches the specified wildtext or regular expression.

$fline(@name,wildtext|regexp [,N][,T])
  • The first parameter is the name of the window.
  • The second parameter is the wildcard string to attempt to match a line against.
  • N is the line number to start your search from. It is optional, and will default to 1 (the entire window).
  • T is an optional flag that specifies the location of the search in the window.
    • 1 indicates to reference the listbox.
    • 2 indicates that a regular expression was specified.
    • 3 indicates both (to reference the listbox, and use a regular expression)