Skip to content

Roots rgrprn() Function

Dan Kranz edited this page Nov 22, 2020 · 4 revisions

For all block lines of first/nextLine, the floating point number stored at block(field) is compared with range. Entries falling within the range 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.rgrprn(block, cpl, field, range, first, nextLine, match)

Parameter Values

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.
range The range pair of numbers to look for (type Array)
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