I have variables named, for simplicity, $x1, $x2, $x3, up to $x20 and each one does the exact same thing.
Is there any way to have a loop that has $x$i for $i from 1 to 20?
A foreach loop will not work, at least I don't think it will, because I also have variables $x_font1 to $x_font20 to change the font of the $x's depending on valid input which put me right back where I started.
Thanks.
Is there any way to have a loop that has $x$i for $i from 1 to 20?
A foreach loop will not work, at least I don't think it will, because I also have variables $x_font1 to $x_font20 to change the font of the $x's depending on valid input which put me right back where I started.
Thanks.