In the Jmol scripting language, is there a syntax that would allow you to
use the "javascript" command with a variable as the argument?
javascript "alert('hi')" --- sends "hi" to my browser
but,
tempvar = "alert('hi')";
javascript tempvar ---- does nothing
and
tempvar = "hi"
javascript "alert('" + tempvar + "')" --- gives: script compiler ERROR:
bad argument count
Cheers,
Eran
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users