home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / BASIC / POWBASIC / LIBRARY1 / EXAMP1.ZIP / RMEX291.BAS < prev    next >
BASIC Source File  |  1990-04-03  |  266b  |  11 lines

  1. ' This loop reads data and displays it using
  2. ' PRINT and WRITE
  3. FOR I% = 1 TO 3
  4.   READ words$, number%
  5.   PRINT "With PRINT: "; words$; number%
  6.   PRINT "With WRITE: ";
  7.   WRITE words$, number%
  8.   PRINT
  9. NEXT I%
  10. DATA " HELLO ",10 ," HOW ARE ",20 ," YOU ",30
  11. END