comp.lang.ada
 help / color / mirror / Atom feed
From: John Slavich <jslavich@info.polymtl.ca>
Subject: Help: Get/Get_line
Date: 1998/05/16
Date: 1998-05-16T00:00:00+00:00	[thread overview]
Message-ID: <355E0DE6.6867@info.polymtl.ca> (raw)


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




             reply	other threads:[~1998-05-16  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-16  0:00 John Slavich [this message]
1998-05-16  0:00 ` Help: Get/Get_line Matthew Heaney
1998-05-16  0:00 ` Tom Moran
1998-05-17  0:00   ` John Slavich
1998-05-17  0:00     ` Matthew Heaney
1998-05-17  0:00       ` John Slavich
1998-05-18  0:00         ` Dale Stanbrough
1998-05-20  0:00 ` christoph grein
1998-05-21  0:00   ` John J Cupak Jr, CCP
1998-05-22  0:00     ` Assistance: Get/Get_line Anonymous
1998-05-22  0:00     ` Help: Get/Get_line Dale Stanbrough
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox