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 X-Google-Thread: 103376,e3e10730e73c99a1 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: jumping a loop Date: 1998/02/05 Message-ID: <6bcgrj$4j6$1@peuplier.wanadoo.fr>#1/1 X-Deja-AN: 322307258 Content-Transfer-Encoding: quoted-printable References: <34D91382.6FC1@er.uqam.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Adalog Newsgroups: comp.lang.ada Date: 1998-02-05T00:00:00+00:00 List-Id: marc a =E9crit dans le message <34D91382.6FC1@er.uqam.ca>... >jj091849@er.uqam.ca >I have writen the followinf (simple!!)program. >at the beginning it's jumping a loop. >compile and run and the first item is jump! >Could you help me with this . >thanK's (compiled with object ada7.1) >------------------------------------------------- > > with text_io; use text_io; >procedure essai is [...] > text_io.put("Combiens de items =E0 entrez (0-10)"); > Es_Entiers.get(item=3D> iter); Add a call to Skip_Line here. =20 Integer_IO leaves you before the end of line, so when you read a string = you will get an empty string. And BTW, do you know that there is a french speaking version of = comp.lang.ada ? It's called fr.comp.lang.ada