# For usage

**URL:** <https://forum.kirupa.com/t/for-usage/242047>\
**Category:** Uncategorized\
**Created:** [October 21, 2007, 4:56pm UTC](https://forum.kirupa.com/t/for-usage/242047 "2007-10-21T16:56:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abramelin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/abramelin/32/3256_2.png) [@abramelin](https://forum.kirupa.com/u/abramelin)\
**Post date:** [October 21, 2007, 4:56pm UTC](https://forum.kirupa.com/t/for-usage/242047/1 "2007-10-21T16:56:00Z")

</div>

Hi i have about 2000 variable rows like  
a1r=value  
a2r=value  
a3r=value

and there are also 2000 instances that is the variables have to put.

with a “for loop” i want to transfer those 2000 variables to 2000 instances. how can i do that?  
for example

```auto

 for(i=1;i<2000;i++){
 sXr=aXr;
 };

```

how can i assign the “i” value for X in here ?
