hello, I make a loop to see if there is a variable, but I have tried several options and are unsuccessful.
set %a 1
while (%a <= 10) {
set %sumavid variable $+ %a
if (%sumavid == $null) { echo -s create | halt }
else { echo -s dont create }
inc %a
}
It does not work
set %a 1
while (%a <= 10) {
if (% $+ variable $+ %a == $null) { echo -s create | halt }
else { echo -s dont create }
inc %a
}
either
an alternative to increase the variable name %var1 %var2 %var3 ... in while witch inc %a ,
would be different variables