PDA

View Full Version : Exception handling


sandman
06-01-2003, 01:51 PM
What type of exception handling capabilities does Laszlo have?

antun
06-02-2003, 06:56 AM
Hey sandman

There aren't any exceptions really so there isn't any exception handling. Constructions such as 1/0, u(), k(), u.p, and o.u (where u is undefined, and k is defined but isn't a function) are silently evaluated. (The last four display a message in the debugger when the debug option is set).

Usually you can get the results you want using JavaScript logic.

-Antun