Loading

mapper.eq.tick


mapper
Since v2.2.0
Available on all platforms
See also

This mapper function returns the first tick in a sliding window which is equal to a given value.

The associated location, elevation and value are those of the selected tick.

The mapper.eq.tick function must be parameterized with the value against which to test for equality.

Signature

Examples

NEWGTS 10 1 2 3 2.0 ADDVALUE 20 4 5 6 5.0 ADDVALUE 30 7 8 9 1.0 ADDVALUE [ SWAP 20 mapper.eq.tick 0 0 0 ] MAP