Hello [EMAIL PROTECTED]!
On 01-Lug-00, you wrote:
a> I disagree with your last statement (at bottom), Gabriele.
a> Recently, I wanted to assign 'err in a program like this (it
a> doesn't work):
a> a: func [][
a> if error? err: try [
a> ;
a> ;code that may produce an error here...
a> ;
a> return "a nice result here"
a> ][print reform ["error in function a" err]]
a> ]
a> Wouldn't that be nice?
This is, and it works. Try with:
a: func [][
if error? err: try [
;
;code that may produce an error here...
;
return "a nice result here"
] [print ["error in function a" mold disarm err]]
]
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/