From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:622a:42:: with SMTP id y2mr7906421qtw.186.1612607883455; Sat, 06 Feb 2021 02:38:03 -0800 (PST) X-Received: by 2002:a25:a267:: with SMTP id b94mr12430418ybi.277.1612607883291; Sat, 06 Feb 2021 02:38:03 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 6 Feb 2021 02:38:03 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=94.31.100.133; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.100.133 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: questions on input/output From: AdaMagica Injection-Date: Sat, 06 Feb 2021 10:38:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61296 List-Id: Dmitry A. Kazakov schrieb am Samstag, 6. Februar 2021 um 10:36:08 UTC+1: > On 2021-02-05 23:50, Mehdi Saada wrote: > > > 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)). > Do not do it, bad idea anyway. The esoteric features of Text_IO like > columns etc are not portable. Use Stream_IO instead. What do you mean by "not portable"? See: A.10.5 Operations on Columns, Lines, and Pages