%b = $addtok(%b, $var(%*,%a), 32)
^ thats the problem, he needed the contents of the variables not there names
%b = $addtok(%b, $var(%*,%a).value, 32)
was all you needed to fix it, a minor minor bug at the most smile