tests/basic/float-arrays.sp
author David Anderson <dvander@alliedmods.net>
Sun Nov 18 15:50:41 2012 -0800 (2012-11-18)
changeset 217 c22e983b3b6e
parent 212 443d24cfdf2d
child 263 ba85a47ee414
permissions -rw-r--r--
Get preinc working again.
     1 native PrintFloat(float:num);
     2 
     3 public main()
     4 {
     5    new float:vec[3];
     6    for (new i = 0; i < 3; i = i + 1)
     7      vec[i] = i + 9.5;
     8    PrintFloat(vec[2]);
     9 }