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!

Yingjie


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to