# Uhm. Variable + Variable = Variable. Sort of

**URL:** <https://forum.kirupa.com/t/uhm-variable-variable-variable-sort-of/237351>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 4:44pm UTC](https://forum.kirupa.com/t/uhm-variable-variable-variable-sort-of/237351 "2007-08-29T16:44:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![praxiz](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@praxiz](https://forum.kirupa.com/u/praxiz)\
**Post date:** [August 29, 2007, 4:44pm UTC](https://forum.kirupa.com/t/uhm-variable-variable-variable-sort-of/237351/1 "2007-08-29T16:44:16Z")

</div>

```auto

var fruit1:String = "apples";         
var fruit2:String = "oranges";         
var fruit3:String = "grapes";         
                
counter = 1;

while (counter < 4) {
trace("You have " + fruit + counter);

trace (fruit1); 
counter++;
}

```

I need the variable fruit1, but for reasons I don’t have time to get into, I don’t know how to parse these two variables to make a parseable variable. If you know what I mean.

:crazy:
