Bob,

If the dataSmiles exists at a JavaScript global, am I doing anything wrong in 
the following Jmol script evaluation?

cks = "{*}.find('SMILES', " +  dataSmiles + 
")";alert(Jmol.evaluate(jmolApplet0, cks))

Even when dataSmiles exists, the alert is the single word "ERROR."

I'm trying to create a JavaScript branch that depends on the FIND correlation 
of the window model smiles with a smiles in memory.

Otis

--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com







------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to