bounds-check ( n seq -- n seq )


Vocabulary
sequences

Inputs
nan integer
seqa sequence


Outputs
nan integer
seqa sequence


Word description
Throws an error if n is negative or if it is greater than or equal to the length of seq. Otherwise the two inputs remain on the stack.

Definition