I find that the statement "var colorKeyIndex = 1" (given externally, 
not inside any function) has no effect on the value of 
"colorKeyIndex". I expected that I could do "var colorKeyIndex = 1", 
externally, when I needed to reset its value. Is this expectation mistaken?

The following dialog gives the results shown in Jmol application 
11.8.9 and 11.8.13:

$ print colorKeyIndex

$ var colorKeyIndex = 1
$ print colorKeyIndex

$ colorKeyIndex = 1
$ print colorKeyIndex
1
$ colorKeyIndex = 321
$ print colorKeyIndex
321
$ var colorKeyIndex = 1
$ print colorKeyIndex
321
$

Is this a bug?

Thanks, -Eric


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to