first time posting here. I'm looking to use a while loop to define several strings/vars. This code gives an idea of what I'm looking for...
int i = 0;
while (i < 4)
{
string cmd1 = "Command 1";
var num1 = 1;
i++
}
I'm trying to figure out how to get a while loop to somehow output...
string cmd1 = "Command 1";
var num1 = 1;
string cmd2 = "Command 2";
var num2 = 2;
string cmd3 = "Command 3";
var num3 = 3;
string cmd4 = "Command 4";
var num4 = 4;
Thank you in advance for any help.