From: Yingjie Lin <Yingjie.L<in@ms...> - 2011-03-24 18:34:14
Hi Robert, Oliver and Angel,
With your help, I finally see the problem in my script. It should be
jmolEvaluate("script('myvariable')") instead of just jmolEvaluate("myvariable")
Below is an example of usage I found on http://jmol.sourceforge.net/jslibrary/#jmolEvaluate
alert( jmolEvaluate("a") );
// Displays the value of the 'a' variable if set in Jmol script.
I think the example might be a bit confusing for newbies like me :)
Thanks a lot for your help!