newLISP Fan Club

Forum => Anything else we might add? => Topic started by: Dmi on March 25, 2006, 04:41:09 PM

Title: eval-str error expression
Post by: Dmi on March 25, 2006, 04:41:09 PM
If I want to supply the context to eval-str, I must also specify an error-handler expression: (eval-str str expr ctx)

In this case, can error-handler to have access to the error-value, returned by evaluator?

Because in this syntax using (catch .... 'value) technique becames impossible.

Possible, can expr take one parameter, that is error-value?
Title:
Post by: Dmi on March 25, 2006, 05:18:44 PM
Oh, found!

(error-text) does that :-)