Sujet : Re: Average of a [stack]
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forthDate : 11. Jul 2024, 16:05:05
Autres entêtes
Organisation : novaBBS
Message-ID : <6707ff1c65be5addceaddaab211099cc@www.novabbs.com>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Rocksolid Light
That's the benefit of having standards: you can share code.
In gforth:
: tt 10 for i . next ; ok
tt 10 9 8 7 6 5 4 3 2 1 0 ok
In MinForth:
: tt 10 for n . next ;
tt 0 1 2 3 4 5 6 7 8 9 ok
So gforth loops 11 times here. This is not wrong.
You just have to know.