CompuServe Thread

#FILE I/O

3 messages in this thread
#113521From: Brendan PrattMar 12, 1988 9:17 PM
Hi there,now to a lot of you,this might seem to be a DUMB question,but here go's Using Benchmark M2,what syntax is it to access disk files??Like the equivalents of TurboPascal's…Read,Write, Append, Flush, Assign, BlockRead, etc….(i know how to close them!!). Being involved with Turbo on clones for so long,it can get a bit confusing to start using M2 from square one! C u laitr Brendan Pratt
#113655From: Erv ThompsonMar 13, 1988 2:57 PM
The Modula-2 syntax (regardless of implementation) uses a set of more or less "standard" I/O calls to access disk files. Typically you can use the procedures in InOut to do your Open()/Close(). Benchmark has the "standard" FileSystem module to handle the rest.
#113676From: Brendan PrattMar 13, 1988 5:57 PM
Thanks Erv,i check them out.So basically(yukko basic!!) the syntax is very similar to Turbo Pascal? C u laitr Brendan Pratt