Skip to content

Roots txtprnArrayCol() Function

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

For all lines of first/nextLine, the value stored at arr(line)[col] is compared with an array of values. Entries which match one of the values 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.

Syntax

Roots.txtprnArrayCol(arr, col, values, first, nextLine, match)

Parameter Values

Parameter Description
arr The array to search
col Key value of the column to search
values Values to search for
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