check out the Execute() Function

For example (not tested at all)
Code:

for $j = 1 to 25
$ = Execute("$$checked = $$Checkbox" + $j + ".Checked")
if $checked
? "Checkbox" + $j + " is checked"
else
? "Checkbox" + $j + " is not checked"
endif
next