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,98e6b29260f70dc7 X-Google-Attributes: gid103376,public From: Gerald Kasner Subject: Re: Help!! program doesnt run, has 0 errors Date: 2000/08/15 Message-ID: <399920FE.556AD44F@Physik.Uni-Magdeburg.de>#1/1 X-Deja-AN: 658481921 Content-Transfer-Encoding: 7bit References: <39991c02$0$17111@echo-01.iinet.net.au> X-Original-NNTP-Posting-Host: kasner.nat.uni-magdeburg.de X-Accept-Language: en, de-DE Content-Type: text/plain; charset=us-ascii X-Trace: 15 Aug 2000 12:51:56 +0100, loriot.cs.uni-magdeburg.de Organization: Otto-von-Guericke-Universitaet Magdeburg MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-15T00:00:00+00:00 List-Id: Damon Carter schrieb: > > I have written a get_valid_integer procedure that gets the input from the > user, an integer between 1 and 40, I can't find any "Get" procedure in your code > then outputs to the user the number they > have entered if it was within the correct range and if not then it raises a > range_error and loops so the user can re-enter the number. Your procedure calls itself ??? have a closer look at this line ..... > When compiled the > program has no errors but i cant get it to run.. can anyone help.. i have > attached the source code thanx > > Compiler ? switches ? platform ? Name: get_valid_integer.adb > get_valid_integer.adb Type: Ohne Angabe (application/octet-stream) > Encoding: x-uuencode I suggest to have a look at some Ada-book, Feldman&Koffman or Skansholm -Gerald