CLEAR ALL
n=FREEFILE
OPEN "Test.txt" FOR OUTPUT AS #n
WRITE #n,65
WRITE #n,66
WRITE #n,67
PRINT #n,"Hello"
PRINT #n,"World!"
PRINT #n,USING$("$###,###.##",2500.15)
CLOSE #n
OPEN "Test.txt" FOR INPUT AS #n
PRINT "LOF:";LOF(n)
PRINT "EOF:";EOF(n)
READ #n,a,b,c
INPUT #n,a$,b$,c$
PRINT a
PRINT b
PRINT c
PRINT a$
PRINT b$
PRINT c$
PRINT "EOF:";EOF(n)
CLOSE #n
FILE DELETE "Test.txt"
