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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9797292c79ff60c,start X-Google-Attributes: gid103376,public From: John Slavich Subject: Help: Get/Get_line Date: 1998/05/16 Message-ID: <355E0DE6.6867@info.polymtl.ca>#1/1 X-Deja-AN: 353889272 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 NNTP-Posting-Date: Sat, 16 May 1998 18:07:02 EDT Reply-To: jslavich@info.polymtl.ca Content-Type: text/plain; charset=us-ascii Organization: Bell Solutions Newsgroups: comp.lang.ada Date: 1998-05-16T00:00:00+00:00 List-Id: Hello there, As you might have guessed by the object of this email, I'm in relatively new at this ADA game. I'm at an impass and none of my references can give me the answer to my problem. The following works fine: ... number : integer; number2 : integer; name : string (1..50); ... begin get_line(name, number2); ... get(number); ... But when if I invert them, GNAT is not happy and it doesn't work: ... begin get(number); ... get_line(name, number2); ... What am I missing? Thanks in advance for your help. JOhn