home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / interpre / liberty / windows / readdata.bas < prev    next >
BASIC Source File  |  1993-07-25  |  333b  |  20 lines

  1. [start]
  2.  
  3.     a$ = ""
  4.  
  5.     while a$ <> "EOD"
  6.         read a$
  7.         if a$ <> "EOD" then print a$
  8.     wend
  9.  
  10.     input r$
  11.  
  12.     if flag = 0 then restore [two] : flag = 1 : goto [start]
  13.     flag = 0 : restore [one] : goto [start]
  14.  
  15. [one]
  16.     data this, is, not, "the end", EOD
  17. [two]
  18.     data of, the, world, !!!!, EOD
  19.  
  20.