Concatenate variable names

Hello again.

I have a doubt on my mind that would really help if it would be doable.

Imagine I have like:

var Name1:String;
var Name2:String;
var Name3:String;
var Name4:String;
var Integer:int;

is it possible to do something like

Integer=4;
print(Name+Integer);

in order to print Name4 ? Is there any way to make such concatenation ? Stupid question maybe, but I need to get it off my mind hehehehe thanks

It is technically possible, but it’s kind of complex and I forget how. :wink: It’s much simpler just to use an array.

–Eric