odd and even if - Par ou Ímpar if


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (index % 2)
  2. {
  3. trace(index + "impar");
  4. }
  5. else
  6. {
  7. trace(index + "par");
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.