CompuServe Messages

FILE I/O

    15-Mar-88 22:09:18
Sb: FILE I/O
Fm: Steve Faiwiszewski 74106,425
To: Brendan Pratt 72757,3043
Using the Benchmark package you can access files in about 3 different ways. The method most similar to TurboPascal is probably thru using the FileSystem module; you can read up on it in the manual. Another way, which (I think) is the lazy way out (but can work for quick and dirty hacks) is use the InOut module. You can reroute the standard input and output to files (from within to program itself or from the command line, using the > and < directives). And, finally, if you need efficient performance, you can talk to AmigaDOS directly thru the AmigaDOS module. I like using this approach as it really is much faster. – Steve –