tests/basic/float-arrays.sp
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 01:04:43 2013 +0100 (2013-06-10)
changeset 263 ba85a47ee414
parent 212 443d24cfdf2d
permissions -rw-r--r--
Normalise line endings.
     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 }