>
> Tracing error behaviour is not a big problem for the script writer. But
> what about some-one else using the script for a structure file that the
> script writer has not tested ? My personal opinion is that Jmol should try
> to skip the problem command, write an error to the jmol window, but then
> continue with the remaining script commands and display something even if
> it is "wrong".

Just isn't going to happen with the error handling the way it is in Jmol.
Once an error is detected, it completely breaks from the evaluation
process. It would take some major rewrites (that I'm hesitant to even
think about) to be able to continue.

>
> I had this problem recently with underscores and _eof in foreign CIF
> files. Bob, efficient as ever, quickly corrected that. For these files my
> script just hung and displayed a blank Jmol window, and a naive user would
> have no clue as to where to look for the problem in his CIF file.
>

I understand. Specifically in the case of a file read error, where the
applet goes blank, I could imagine a message to the screen -- something
now enabled for ZAP.

Maybe an option that allows for a box to pop up that requires "OK" to be
pressed? Should I experiment with that?

Bob




> Alan.
> _____________________________________________________________
> Dr Alan Hewat, ILL Grenoble, FRANCE <[EMAIL PROTECTED]>fax+33.476.20.76.48
> +33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/people/hewat/
> _____________________________________________________________
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to