Re: LOOP

Liste des GroupesRevenir à cl forth 
Sujet : Re: LOOP
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 29. Jun 2025, 04:04:39
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <165cc291d6dc36195692f023cb6283433de683d5@i2pn2.org>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla Thunderbird
On 29/06/2025 6:04 am, sean@conman.org wrote:
It was thus said that the Great dxf <dxforth@gmail.com> once stated:
  <[Wil] W.BADEN1> Chuck walked out of ANSI becuz it wudn't make
     FOR...NEXT required.
  <[Wil] W.BADEN1> That was 1988.  And the operative word is "required."
 
  What is the difference between FOR/NEXT and DO/LOOP?  Don't they do the
same thing?

FOR NEXT was conceived as a bare-bones loop that down-counts to zero.
DO LOOP is more flexible.  While Moore was prepared to throw out the
latter's features for a simpler implementation in microcode, it's fair
to say most forthers were not.


Date Sujet#  Auteur
23 Jun 25 * OOS approach revisited23LIT
24 Jun 25 `* Re: OOS approach revisited22dxf
26 Jun 25  `* Re: OOS approach revisited21LIT
27 Jun 25   +* Re: OOS approach revisited19minforth
27 Jun 25   i+* Re: OOS approach revisited14dxf
27 Jun 25   ii`* Re: OOS approach revisited13minforth
27 Jun 25   ii +* Re: OOS approach revisited3LIT
27 Jun 25   ii i`* Re: OOS approach revisited2minforth
28 Jun 25   ii i `- Re: OOS approach revisited1Stephen Pelc
28 Jun 25   ii `* LOOP (was: OOS approach revisited)9Anton Ertl
28 Jun 25   ii  +* Re: LOOP7dxf
28 Jun 25   ii  i`* Re: LOOP6sean
28 Jun 25   ii  i +* Re: LOOP4Anton Ertl
3 Jul 25   ii  i i`* Re: LOOP3minforth
7 Jul 25   ii  i i `* Re: LOOP2Gerry Jackson
7 Jul 25   ii  i i  `- Re: LOOP1minforth
29 Jun 25   ii  i `- Re: LOOP1dxf
28 Jun 25   ii  `- Re: LOOP (was: OOS approach revisited)1Anton Ertl
28 Jun 25   i+* DO..LOOP and stack shuffling (was: OOS approach revisited)3Anton Ertl
3 Jul 25   ii+- Re: DO..LOOP and stack shuffling1dxf
3 Jul 25   ii`- Re: DO..LOOP and stack shuffling1Anton Ertl
30 Jun 25   i`- Re: OOS approach revisited1Hans Bezemer
27 Jun 25   `- Re: OOS approach revisited1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal