comp.lang.ada
 help / color / mirror / Atom feed
From: Mehdi Saada <00120260a@gmail.com>
Subject: questions on input/output
Date: Fri, 5 Feb 2021 14:50:24 -0800 (PST)	[thread overview]
Message-ID: <fb923aff-5068-45a9-a714-ea7df45d8437n@googlegroups.com> (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)).

             reply	other threads:[~2021-02-05 22:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05 22:50 Mehdi Saada [this message]
2021-02-05 23:36 ` questions on input/output 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
replies disabled

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