|
*SPOOL outputfile.txt PRINT "Output your data in the normal way" *SPOOL
VDU 21 *SPOOL c:\outputfile.txt PRINT "Output your data in the normal way" *SPOOL VDU 6
outfile% = OPENOUT("outputfile.txt")
PRINT #outfile%, "Output your data directly to a file"
BPUT #outfile%, 10
CLOSE #outfile% outfile% = OPENOUT("outputfile.txt")
OSCLI "OUTPUT " + STR$outfile%
PRINT "Output your data in the normal way"
*OUTPUT
CLOSE #outfile%