There are quote problems in there...

jmolScript('select 2:A.CAand 1.1; catom={selected} ');
var label = jmolEvaluate('catom.label');

jmolScript('select 2:A.CAand 1.1; catom={selected} ');
var label = jmolEvaluate('print catom.label');

> var label = jmolScript(\'print {2:A.CA/1.1}.label\');
I don't think you can assign a jmoScript() to a variable. jmoScript() 
gets executed, does not return anything.


> var label = jmolEvaluate(\'print {2:A.CA/1.1}.label\');

Don't put  print there, just evaluate the expression



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to