Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.lang.forth Subject: Re: LOOP Date: Sat, 28 Jun 2025 21:01:48 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 14 Message-ID: <2025Jun28.230148@mips.complang.tuwien.ac.at> References: <84d259e0f1d6210d84c7840af5d51f4ebdd71ed4@i2pn2.org> <248abae6393c59470a015b195642e266@www.novabbs.com> <0087b3b084f8af01cf9fb29bf50c389a104e1ffa@i2pn2.org> <2025Jun28.122351@mips.complang.tuwien.ac.at> <1be678489d752a940e171d426000dc17ed1ac471@i2pn2.org> <103pht8$121l9$1@dont-email.me> Injection-Date: Sat, 28 Jun 2025 23:05:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="18701114fc118c89fc8114d80e3b8831"; logging-data="1139891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qLIi6ToKBE7i26ubtWz/v" Cancel-Lock: sha1:lOhs50YMdasECSxfD+XYDOK6dMQ= X-newsreader: xrn 10.11 sean@conman.org writes: > What is the difference between FOR/NEXT and DO/LOOP? Don't they do the >same thing? FOR ... NEXT on one system does not do the same thing as FOR ... NEXT on some other systems, and they all behave different from DO ... LOOP. - anton -- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/ EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/ EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/