TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Peter Lavender
from: Daniel O`Shea
date: 1996-04-05 11:06:48
subject: reading files

G`Day Peter

31-Mar-96, Peter Lavender wrote to All

 PL> 1)  Is it possible to read in and then write to the same file?

This is possible with a Binary file, but not a Text file...

 PL> 2)  Is it good practise, or possible, to read a textfile in and store the 
 PL> info in an array for adding to, deleting, and editing information?

Hmmm, I can't see why not, it would speed up the program by reading the
information from memory instead of from disk, but this would only be
advantageous if you were dealing with quite a large file... Anyway, you've
given me an idea for a program I'm working on, Thanks! :>

 PL> Thanks for any info forthcoming..
 PL> Cya,
 PL> Pete

Bye! :^>}

Internet - dtm{at}nestbbs.pretech.com.au Fidonet - 3:638/117.1
Or, 3:634/396.1 Meganet - 95:3200/10.1 Signet - 28:3000/302.1
--- Terminate 3.00/Pro
* Origin: Great Flying Albino Banana Skins! (3:634/396.1)
SEEN-BY: 633/267 270
@PATH: 634/396 635/503 50/99 635/544 727 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™.