comp.lang.ada
 help / color / mirror / Atom feed
* a little help
@ 2001-10-16  8:39 F
  2001-10-16  9:50 ` Gerhard Häring
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: F @ 2001-10-16  8:39 UTC (permalink / raw)


Hello world,
          i'm trying to learn Ada but i've a lot of problems with the
operations with strings.
In particular i've a procedure for the input:

type st is new string;
procedure leggis (j: in out st) is
       c:character;

    begin
           while not end_of_line loop
        get(c); b(ind):=c; ind:=ind+1;
           end loop;
    end leggis;


when i call the first time this procedure i obtain the input string but the
second time nothing happens.....
I think that character return remains in the keyboard buffer, how can I
resolve this problem?????

Excuse me for the scarce clarity of my english.......
Thank you!  :-))





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

end of thread, other threads:[~2001-10-17 14:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-16  8:39 a little help F
2001-10-16  9:50 ` Gerhard Häring
2001-10-16 12:23   ` F
2001-10-16 15:47     ` Gerhard Häring
2001-10-16 15:46   ` Martin Dowie
2001-10-16 15:29 ` Ted Dennison
2001-10-17  7:11   ` F
2001-10-17 14:26     ` Ted Dennison
2001-10-17 10:00 ` Preben Randhol

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