Posted By

edsonpavoni on 04/14/10


Tagged

and odd even if as3 Par ou mpar


Versions (?)

odd and even if - Par ou Ímpar if


 / Published in: ActionScript 3
 

  1. if (index % 2)
  2. {
  3. trace(index + "impar");
  4. }
  5. else
  6. {
  7. trace(index + "par");
  8. }

Report this snippet  

You need to login to post a comment.