I'm having a problem with variable syntax. Let's say I have a variable $J2Round, which gives the rounded value of J2. Now, instead of writing 25 lines with a different $J3Round, $J4Round, I want to make a routine that increments the variable. I have a loop that starts like:
for($a = 1; $a < 26; $a++){
what is the syntax for the variable? I've tried:
$J$aRound
'$J'.$a.'Round'
$J($a)Round
none work. what's the proper syntax so that it will put the $JxRound variable together and print the actual contents of $J1Round through $J25Round?