home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume2 / basic / part4 / bstest / twh.bs < prev    next >
Encoding:
Text File  |  1986-11-30  |  201 b   |  12 lines

  1. 9 print "Guess a number ";
  2. 10 input a
  3. 20 while ( rtoi(a) <> 20)
  4. 25 gosub 100
  5. 30 elihw
  6. 40 print "You guessed it!"
  7. 100 print "Do it again ";
  8. 110 input a
  9. 111 print "number is ";rtoa(a)
  10. 120 return
  11. 200 end
  12.