Get n-th element from stack in Forth -
is there way access element of stack index in forth, without popping elements above it?
for example, if have numbers 1 1000 pushed stack, how can 500th element?
500 pick ...will copy element 500 levels down stack top of stack in forth79.
Comments
Post a Comment