If you have SetOption('NoVarsInStrings','On') then you only need a single "$" in the line:
Execute("$$" + "$var_name" + "='" + $var_value + "'")
and no quotes around "$var_name" as this will be literal and no variable substitution performed.
Please see my posted code several replies above.


Edited by Howard Bullock (2004-09-13 10:04 PM)
_________________________
Home page: http://www.kixhelp.com/hb/