home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / E / TFF-A32R.LZX / AmigaE3.2a / Src / Guide / while.e < prev   
Encoding:
Text File  |  1994-12-14  |  144 b   |  10 lines

  1. PROC main()
  2.   DEF x,y
  3.   x:=1
  4.   y:=2
  5.   WHILE (x<10) AND (y<10)
  6.     WriteF('x is \d and y is \d\n', x, y)
  7.     x:=x+2
  8.     y:=y+2
  9.   ENDWHILE
  10. ENDPROC