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,fcf8ea94b94d6941 X-Google-Attributes: gid103376,public From: "Mike Silva" Subject: Re: Modular type. What is it and why? Date: 1999/04/06 Message-ID: <7edhdi$sb8$1@its.hooked.net>#1/1 X-Deja-AN: 463320266 References: <7ean3c$79m$1@eol.dd.chalmers.se> <7eb2iq$jc3@hobbes.crc.com> <7ede2p$pd1$1@its.hooked.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Whole Earth Networks News Newsgroups: comp.lang.ada Date: 1999-04-06T00:00:00+00:00 List-Id: Mike Silva wrote in message <7ede2p$pd1$1@its.hooked.net>... > case ARROW_UP: > if ( index > 0 ) > index = NUM_ELEMENTS - 1; > else > index--; > break; See that, another bug that wouldn't happen in the Ada code! (I got the if/else actions backwards in the above) > when ARROW_UP => > index := index - 1;