Subj : Math and ErrorReporter To : mozilla-jseng@mozilla.org From : matthias@atip.de (Matthias Thiel) Date : Fri Aug 15 2003 10:32 am I have two problems with embedding spidermonkey. The first one is, that I can not evaluate Math function calls like Math.random() or Math.cos(1). The result is an error which leads to the second problem: I registered my own error reporter which just prints out the message argument. The only message it shows for any error is "can't convert Error to string". So the two questions are: 1. Do I need to do some include or import to get these Math functions working ? If not, what could be the problem ? 2. What is needed for the error reporter to get the messages converted ? thanks in advance, Matthias Thiel -- Matthias Thiel ATIP GmbH Software Developer Daimlerstr. 32 D-60314 Frankfurt/Main phone: +49 69 941963 220 fax: +49 69 941963 188 web: www.atip.de .