Hi,

When I do this:

: myinit ( -- seq) { 0 0 } ;
myinit 10 0 rot set-nth
myinit

I'll end up with:
{ 10 0 }  ! 3rd line myinit
on top of the stack.

How I can make the word myinit to always leave { 0 0 } on top of the stack, regardless of how that sequence is being later manipulated in-between?

--
thanks
Mariusz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to