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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56250291936154a0 X-Google-Attributes: gid103376,public From: Alfred Hilscher Subject: Re: Where is the elusive jump command? Date: 2000/03/30 Message-ID: <38E3163E.20A08849@icn.siemens.de>#1/1 X-Deja-AN: 604247568 Content-Transfer-Encoding: 7bit References: <38D771A8.574092EB@port.ac.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Siemens AG Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-30T00:00:00+00:00 List-Id: (Take it not serious) Use EXCEPTIONS for this purpose. Define a standard exception called "SPAGETTI_CODE" and raise it every time you want go to ;-)) Preben Randhol wrote: > > On Tue, 21 Mar 2000 12:57:13 +0000, dis90072 wrote: > >damn assembler you can jump. What is the equivalent in ada? I have had > >enough of endless 'IF' statements and everlasting case statements. I > >know it might make the program hard to follow, but I don't care! I must > > In stead of the goto (or jump) command you should redesign your program > and use more procedures/functions/pacakges. > > -- > Preben Randhol -- [randhol@pvv.org] -- > "Det eneste trygge stedet i verden er inne i en fortelling." > -- Athol Fugard