Dear Bob,

In scripts I wrote for Proteopedia over the past several years, I 
sometimes put a comment at the end of an "if" line. The following 
script is acceptable to Jmol 11.8.24 but not to 12.0.31 nor to 12.2.19.

zap
if (true) # comment
{
        something = ""
}
else
{
        whatever = false
}

-------------------
In Jmol 12, this script generates

    script compiler ERROR: invalid context for end

SIMPLY REMOVING THE COMMENT MAKES THE CODE ACCEPTABLE.

It would save me a lot of repair work if the comment could be 
accepted in the current Jmol.
Thanks, -Eric


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to