I have searched the internet/documentation and it seems that this is not possible. But I have a large number of variables that need to be passed through a function. The function is working properly.
Example of variable list:
st1mrks = 94
st2mrks = 34
st3mrks = ...
test1 = "student has collected " st1mrks " marks. "
test2 = "student has collected " st2mrks " marks. "
test3 = "student has collected " st3mrks " marks. "
test4 = ...
Loop % totaltestnumber{
dofunction(test%A_Index%)
}
Alternatively, I tried using while
i=0
while (i < totaltestnumber){
dofunction(test%i%)
i++
}
But this obviously won't work.
Is there anyway to do this?