Using alternative input/output files
You can use the TextIO package to read and write to your own files. To do this, just declare an input or output file of type TEXT.
file myinput : TEXT is in "pathname.dat";file myinput : TEXT open read_mode is "pathname.dat";Then include the identifier for this file ("myinput" in this example) in the READLINE or WRITELINE procedure call.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |