tests/basic/break-continue-in-for.sp
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 15:52:44 2013 +0100 (2013-06-10)
changeset 265 3a903b89a514
parent 263 ba85a47ee414
permissions -rw-r--r--
Fixed type checking for multidimensional arrays.
     1 native PrintNum(num);
     2 
     3 public main()
     4 {
     5    new i;
     6    for (; i < 100; i = i + 1) {
     7        if (i >= 57)
     8            break;
     9        if (i >= 26) {
    10            i = i + 1;
    11            continue;
    12        }
    13    }
    14    PrintNum(i);
    15 }