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 –