| BCX Console Demonstration Program S10.bas |
DIMa$DIMz a$="Test"OPENa$FOROUTPUTASfp1 ?"Creating test file ..."FORz=1TO1000FPRINTfp1,"This is line no.",STR$(z)NEXTzCLOSEfp1OPENa$FORINPUTASfp1WHILENOTEOF(fp1)LINEINPUTfp1, a$ ? a$WENDCLOSEfp1CLS?"Removing Test file"KILL"test"