2 Replies Latest reply on Dec 28, 2006 2:25 PM by 10basetom

    Strange FOR loops behavior

    10basetom
      Hello,

      Given this code...

      quote:

      for (var i:uint = 0; i < 10; i++)
      {
      Alert.show(i.toString());
      }


      The alert box counts down from 9 -- shouldn't it start counting up from 0?? Why does it appear that loops are going in reverse?

      Thanks,
      Tom