Hello Ray!
RT> OPEN "CARSHOW1.TXT" FOR INPUT AS #1
RT> INPUT #1
RT> ,regno$,lastname$,firstname$,address$,city$,state$,zip!,phone
RT> PRINT regno$; lastname$; firstname$; address$; city$ ; state$;
RT> zip!; CLOSE #1
I agree with Anton Monroe's reply, but I'd like to add that the first OPEN,
where you read the data into the program, only reads in the first line,
ignoring any other lines that there may be in the file. Also, ModelYr$,
Model$, and Count% are not being used in any way, and Count% is not
initialized; it should be, as part of proper programming practice.
--Scott.
--- timEd/386 1.10
---------------
* Origin: Wizard, 817-526-6546, sponsored by Abacus: 634-8006 (1:395/11)
|