comp.lang.ada
 help / color / mirror / Atom feed
* questions on input/output
@ 2021-02-05 22:50 Mehdi Saada
  2021-02-05 23:36 ` Jeffrey R. Carter
  2021-02-06  9:36 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 18+ messages in thread
From: Mehdi Saada @ 2021-02-05 22:50 UTC (permalink / raw)


I can't understand how input/output works.
1) on text files - not keyboard input - what's the difference between get_immediate and get ?
2) what means "consumming" characters, if indices don't change ?
3) can set_col be used or not, to go back in a line in an IN_FILE file ?
I get a good "END_ERROR" when I try that. what's the trick then ?

I did read the rm or whatnot, or other resources, but language doesn't help me... or I guess I do things the wrong way.

I need: to read a character, until some marker, then go back (set_col(stored_position)) and read again but store it like Get(variable, FILE); then go past the marker (set_col(FILE,col(file)+1)).

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

end of thread, other threads:[~2021-02-07 22:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 22:50 questions on input/output Mehdi Saada
2021-02-05 23:36 ` Jeffrey R. Carter
2021-02-06  0:59   ` Mehdi Saada
2021-02-06  1:34     ` Mehdi Saada
2021-02-06  2:13       ` Paul Rubin
2021-02-06  7:21     ` J-P. Rosen
2021-02-06  9:36 ` Dmitry A. Kazakov
2021-02-06 10:38   ` AdaMagica
2021-02-06 11:37     ` Mehdi Saada
2021-02-06 11:51       ` Mehdi Saada
2021-02-06 18:10         ` Paul Rubin
2021-02-06 18:55           ` Mehdi Saada
2021-02-06 20:26             ` Paul Rubin
2021-02-07  8:52               ` Mehdi Saada
2021-02-07 20:38                 ` Paul Rubin
2021-02-07  9:55             ` Gautier write-only address
2021-02-07 22:54               ` Mehdi Saada
2021-02-06 11:47     ` Dmitry A. Kazakov

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