Jmol 14.013 fails the following where 14.0.8 does not:

script x.spt:
function X {
    return "X"
}

script test.spt: (testing case sensitivity)
function z {
    return 1
}
load $SCRIPT_PATH$x.spt
print z
print Z
X
print x
print X

When test.spt is loaded in 12.0.13 it prints:
1
1
X
script ERROR: unexpected end of script command
----line 9 command 7 of c:/test/test.spt:
         print >> X <<
----
         load "c:/test/test.spt"
$

whereas 12.0.8 prints:
1
1
X
X

Note the problem only occurs with a function when loaded by a script and
when called for a return value.
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to