tests/basic/while.sp
changeset 263 ba85a47ee414
parent 204 ff89b2640fba
     1.1 --- a/tests/basic/while.sp	Mon Jun 10 00:46:29 2013 +0100
     1.2 +++ b/tests/basic/while.sp	Mon Jun 10 01:04:43 2013 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4 -native PrintNum(num);
     1.5 -
     1.6 -public main()
     1.7 -{
     1.8 -   new i = 0;
     1.9 -   while (i < 100) {
    1.10 -      i = i + 37;
    1.11 -   }
    1.12 -   PrintNum(i);
    1.13 -}
    1.14 +native PrintNum(num);
    1.15 +
    1.16 +public main()
    1.17 +{
    1.18 +   new i = 0;
    1.19 +   while (i < 100) {
    1.20 +      i = i + 37;
    1.21 +   }
    1.22 +   PrintNum(i);
    1.23 +}