home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 54,721 of 56,720   
   duhast6377@gmail.com to All   
   Displaying text file from Applesoft   
   12 Apr 21 17:14:45   
   
   From: duhas...@gmail.com   
      
   Is there a more elegant way to display text files in Applesoft besides:   
      
   10 onerr goto 100   
   20 input fn$   
   30 ?chr$(4);"open ";fn$   
   40 ?chr$(4);"read ";fn$   
   50 input a$   
   60 print a$   
   70 goto 50   
   100 ?chr$(4);"close"   
      
   Waiting for an error seems....not the best way.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca