home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / Lang / Nano.lha / nano / prog / lab_demo.n < prev    next >
Encoding:
Text File  |  2002-04-05  |  219 b   |  7 lines

  1. // this demo shows, that more than one label at a line is possible
  2. // but can you read this easy?
  3.  
  4. int i; i = 1;
  5.  
  6. lab loop1; if i <= 10; gosub loop2; goto loop1; endif; print /n, i, /n2; exit; lab loop2; inc i; return;
  7.