# For loop

**URL:** <https://forum.kirupa.com/t/for-loop/218522>\
**Category:** Uncategorized\
**Created:** [March 8, 2007, 1:20pm UTC](https://forum.kirupa.com/t/for-loop/218522 "2007-03-08T13:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pensamente](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pensamente/32/1208_2.png) [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Post date:** [March 8, 2007, 1:20pm UTC](https://forum.kirupa.com/t/for-loop/218522/1 "2007-03-08T13:20:54Z")

</div>

😊  
[AS]for (i = 100; i \< 600; i++) {  
trace (i);  
}[/AS]  
how can i increment a diferent value to the var i, to get a output like this:  
100, 200, 300, 400, 500, 600

i found this way:  
[AS]for (i = 1; i \< 600; i++) {  
i += 99;  
trace (i);  
}[/AS]

but isn’t possible to do all the increment to the i var inside the for ()?

🙂
