TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: All
from: Paul Fuller
date: 1996-11-28 07:41:04
subject: File reversing..

G'day i have a problem.. I can not reverse a text file!? the only way that i
could think about doing it is to read the last line, the append if to the
new file?.. But how would you get the last list?

   while not eof(normalfile) do
    begin
    while not eof(normalfile) do
     begin
     read(normalfile,string);
     end
     writeln(newfile,string);
    end


Cheers Paul..

Oh i have another question, see the next message.. ;)
 

--- Blue Wave/Max v2.20 [NR]
* Origin: Perth Omen BBS -- FASTER LIVE InterNet (+619) 244 2111 (3:690/660)
SEEN-BY: 633/267 270
@PATH: 690/660 640/201 820 711/409 808 50/99 635/728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.