TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Keith Bolland
from: Tom Clarkson
date: 1996-06-12 16:08:30
subject: Re: Aaargh!

KB> The problem here is that SEEK won't work on text file, so I use untyped fil
KB> And READ and READLN won't work on untyped files, so I need to use text file
KB> 
KB> Etc.
KB> 
KB> Does anyone know either
KB> 
KB> a) a SEEK-equivalent for text files or

for i = 1 to seekpos do read(textfile)
use readln if you want a line number...

KB> b) a READLN-equivalent for untyped files?

write your own readln procedure... you just have to read in chars until you 
get a #13 (enter)...

-=ðManiacð=-

--- GEcho 1.00
* Origin: 42 - The Coding BBS +644 568-6697 (3:771/42)
SEEN-BY: 633/267 270
@PATH: 771/42 1560 160 772/20 712/624 517 515 711/808 50/99 635/544 727
@PATH: 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™.