fixed. A bit obscure:
bug fix: functions called in script A but defined by script B, which itself
is called by script A
must be called using lower case the FIRST time script A is run.
On Thu, Apr 10, 2014 at 10:03 AM, Ron Mignery <[email protected]> wrote:
> 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
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
------------------------------------------------------------------------------
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