That I can fix.
On Sat, Apr 7, 2012 at 1:50 PM, Eric Martz <[email protected]>wrote:
> 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
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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