Search found 1 match

by coder
Tue Mar 29, 2005 4:27 pm
Forum: QBasic / QuickBasic related
Topic: Bad File Mode
Replies: 2
Views: 1735

Bad File Mode

why do I get bad file mode with this program ?
CLS
' Define record fields.
TYPE TestRecord
NameField AS STRING * 20
ScoreField AS SINGLE
END TYPE
' Define a variable of the user type.
DIM Rec AS TestRecord
' Open the test data file.
'
DIM FileBuffer AS TestRecord
OPEN "THi3.TXT" FOR INPUT AS #1 ...