Local variables set in the first pass are recognised in the second, so
Code:
var %a = $1-
scid $activecid echo -s % $+ a
will work.