I posted in Nov. about using #jmolscript within XYZ files, and Bob 
fixed the problem.

Now I am having trouble using MOL files with the embedded
#jmolscript   commands
(maybe I didn't test MOL in Nov, don't remember)

If I put #jmolscript on line nr.2, as advised:

- unless the line starts with a space, Jmol  throws an error:

script compiler ERROR: command expected: (contentsOfLine1)
#jmolscript: : (contentsOfLine1)
(path/file).mol line#1
script ERROR: ScriptException:error loading a script -> command 
expected: (contentsOfLine1)
#jmolscript: : (contentsOfLine1)
(path/file).mol line#1
    Script line:script "(path/file).mol"
           File:(path/file).mol Line number:1


- if the line starts with a space before #jmolscript, no error, but 
the script is not applied

(This is for both app and applet, 11.0.RC4; similar situation in 
11.1.6, although different error message)

The XYZ files work OK with #jmolscript on line nr.2.

Is this a bug, or am I doing sth wrong?
Thanks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to