-
Notifications
You must be signed in to change notification settings - Fork 0
Roots txtprn() Function
Dan Kranz edited this page Nov 24, 2020
·
1 revision
For all block lines of first/nextLine, the text string stored at block(field) is compared with 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.
Roots.txtprn(block, cpl, field, text, tfield, first, nextLine, match)
Parameter | Description |
---|---|
block | Uint8Array memory block |
cpl | The width of a memory block line |
field | Field definition array. The first element specifies the starting byte location. The second element specifies the length in bytes. |
text | Text string |
tfield | Field definition array which defines the portion of text 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) |