"Andrej Vodopivec" wrote on 09/16/2008 07:59:13 AM: > You can use the errormsg variable. But there is a bug: Thanks: (%i20) sol : solve(a*x^2 + b*x + c,x)$ (%i21) safer_subst([a=0],sol); (%o21) [x=(2*c)/(abs(b)-b),x=-(2*c)/(abs(b)+b)] (%i22) safer_subst([a=0, b=10],sol); (%o22) [x=und,x=-c/10] Barton