comp.lang.ada
 help / color / mirror / Atom feed
* Help: Get/Get_line
@ 1998-05-16  0:00 John Slavich
  1998-05-16  0:00 ` Matthew Heaney
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: John Slavich @ 1998-05-16  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1998-05-22  0:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-16  0:00 Help: Get/Get_line John Slavich
1998-05-16  0:00 ` 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     ` Dale Stanbrough
1998-05-22  0:00     ` Assistance: Get/Get_line Anonymous

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