I would like to add the i var to the stringname “project” so i can trace them to return “ONE”, of course this won’t work in it’s current construction and it’s driving me quite mad as i’m overlooking something rather simple i think…
I can’t use arrays, so thats out of the question
Anyone got any ideas? Thanks
[font=courier][size=2] i=0;
project0 = “ONE”;
currentproject = project + i;
trace(currentproject);[/size][/font]
returns Nan
[font=courier][size=2] i=0;
project0 = “ONE”;
currentproject = [“project” + i];
trace(currentproject);[/size][/font]
returns project0