Liste des Groupes | Revenir à cl forth |
minforth@gmx.net (minforth) writes:1) Briefly, details omitted: a copy of the locals stack frame of theFWIW a single quotation-based counter in another Forth:>
>
MinForth 3.6 (32 bit)
# defer ctr ok
# : init { n } [: n 1+ dup to n ;] ; ok
# 4 init is ctr ok
# ctr . 5 ok
Questions:
>
1) where does the storage cell for n live, after init has returned?
>
2) what if you make more than one counter?
>
3) why did you use defer instead of something like CONSTANT?
>
thanks
Les messages affichés proviennent d'usenet.