cks = {*}.find('SMILES', ' + dataSmiles + ');alert(Jmol.evaluate(
jmolApplet0, cks))
(missing single quotes around dataSmiles)
On Sat, Jan 19, 2013 at 8:58 AM, Otis Rothenberger osrot...@chemagic.comwrote:
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
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
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