Today you can set a variable to the stdout from a command but you can't set a variable to the stderr of a command. It would be nice if you could. Suggested syntax:
=def var1,var2 commandstring
where the command string is surrounded by backticks.
var1 would continue to be stdout. var2 would be stderr.