You can built the logic using the execute function.

Code:
break on

$a = "b"
$rc = execute ('$$' + $a + ' = "c"')
? "$$b = " + $b

_________________________
Home page: http://www.kixhelp.com/hb/