Skip to content

Roots scanprArray() Function

Dan Kranz edited this page Nov 23, 2020 · 1 revision

For all lines of first/nextLine, the string stored at arr(line) is scanned for the substring contained within text(tfield). Matching entries are entered in match/nextLine. Non-matching entries remain in first/nextLine.

First and nextLine are primed by the user prior to calling the function.

The scanprArray function is case insensitive.

Syntax

Roots.scanprArray(arr, text, tfield, first, nextLine, match)

Parameter Values

Parameter Description
arr The array to search
text The text substring to search for
tfield Field definition array. The location of the substring within text.
first Starting line number (type Array)
nextLine Subsequent line numbers array
match Output as starting line number for matching entries (type Array)
Clone this wiki locally