piece: func [
{Returns one item from a series of fixed size "pieces".}
series [series!]
index [integer!] "Item number, not series offset"
size [integer!] "Size of each piece in the series"
][
; Remember there is no precedence to math ops; just left-to-right.
copy/part at series (index - 1 * size + 1) size
]
You need to create an account or log in to post comments to this site.