Re: [Jmol-users] how to echo a javascript variable?

2008-09-22 Thread Thomas Stout
Thanks Angel -- I have, but Jmol merely echos "null" or newline or something to the screen. I know it's echoing *something* because it paints over text that is there from an earlier echoif I give a javascript level "alert" then I get the proper text in the pop-up window, but it's not going to

Re: [Jmol-users] how to echo a javascript variable?

2008-09-22 Thread Angel Herráez
Tom, have you tried echo @variable ? That works for me in a simple test. But I'm not proficient with the use of braces. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

Re: [Jmol-users] how to echo a javascript variable?

2008-09-22 Thread Thomas Stout
Actually, on re-reading this: I see that I made a typo. What I've been trying is actually: jmolScript("echo [EMAIL PROTECTED]"); but Jmol is echoing that literally "@variable" and not the contents of that variable. Thanks, Tom On Fri, Sep 19, 2008 at 2:50 PM, Thomas Stout <[EMAIL PROTECTED]>