From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3f045ad8f12bb7f9,start X-Google-Attributes: gid103376,public From: ajaskey@gnn.com (Andy Askey) Subject: A Text_IO Question Date: 1996/11/09 Message-ID: <562d9o$hqq@news-e2c.gnn.com>#1/1 X-Deja-AN: 195514207 x-gnn-newsserver-posting-date: 9 Nov 1996 16:59:36 GMT organization: GNN newsgroups: comp.lang.ada Date: 1996-11-09T00:00:00+00:00 List-Id: I'm converting a little C program to Ada and can't figure out if the following is possible using Text_IO: The C program writes a space holding dummy header to the top of the file, process a lot of data, writes it out, counts up the lines and calculates statistics on the data, moves the file pointer back to the top of the file, and overwrites the dummy header with correct data. I am just wondering if this is possible with Text_IO. Every method I tried moves the End of File mark right below the header when I rewrite the correct data. Any ideas? -- May your karma be excellent for forgiving my spelling mishaps. Andy Askey ajaskey@gnn.com