tests/basic/divide-by-zero.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 PrintToNum(num);
     2 
     3 f(a, b) {
     4     return a /b ;
     5 }
     6 
     7 public main()
     8 {
     9     for (new i = 0; i < 100; i++) {
    10         f(i + 5, i - 8);
    11     }
    12     return 10;
    13 }
    14