Re: [colorforth] Dare I say ANS!
- Subject: Re: [colorforth] Dare I say ANS!
- From: "Howerd Oakford" <howerd.oakford@xxxxxxxxxxxx>
- Date: Thu, 15 Jan 2004 21:19:04 -0000
Hi Samuel,
Thanks for explaining ?dup - but should we call it something else?
> On Thursday 15 January 2004 05:22 am, Howerd Oakford wrote:
> > Make i return an index from 0 to n-1 instead of 1 to n. I presume this
> > was intentional - does any one know why?
>
> Because implementing FOR/NEXT is substantially easier to implement than
> DO/LOOP.
I like for ... next , and can happily live without do ... loop, but why does
i return 1 to n instead of 0 to n-1 ?
I don't see how what i does affects the loop itself...
c@ is tricky. You seem to be saying that ANS got it wrong, so we should do
it right ;)
Regards
Howerd
---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com