> If a user mistypes "translate 10", the following exception will be thrown > and Jmol will stop functioning.
That is a bug. > A more general question is, can Jmol recover if the script parser > encounters errors such as this? In general, the Jmol script compiler/interpreter is relatively robust when presented with invalid scripts. You found a bug. > I would like to see this type of exception be handled so that the user can > have a chance to correct > the mistake without having to restart the Jmol application. Probably a good idea ... when the built-in error checking fails ... as in this case. Miguel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
