From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,459feef56669b92d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-03 07:17:34 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: "continue/next" for "loop" Date: Mon, 03 Nov 2003 16:19:21 +0100 Message-ID: References: NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1067872652 41423571 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:1987 Date: 2003-11-03T16:19:21+01:00 List-Id: On Mon, 3 Nov 2003 15:01:52 +0000 (UTC), Lutz Donnerhacke wrote: >* Preben Randhol wrote: >> Links on this: (Ada, goto and state machine) > >It's not a state machine. It's a "parser" which determine the end of the >current iteration processing at a much deeper level. A "parser" isn't that different from FSM. So far your FSM or whatsoever needs no stack(s) to wind up upon state changing, goto's are just fine. Otherwise it becomes a nigthmare, no matter how you are going to do it! So stop feeling guilty, and use gotos! (:-)) --- Regards, Dmitry Kazakov www.dmitry-kazakov.de