This is fixed. Thanks for reporting that, Ron.

http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.13_2014.03.31.zip

bug fix: A=[]; A[3] = 5  not working

new feature:  var x,y,z;
  -- commas optional
  -- similar to JavaScript
  -- initializes the variable to ""

bug fix: var x not isolated to script context
bug fix: ellipsoid command broken



On Mon, Mar 31, 2014 at 2:37 PM, Robert Hanson <[email protected]> wrote:

> okydoke. "still" meaning I missed that?
>
>
> On Mon, Mar 31, 2014 at 12:07 PM, Ron Mignery <[email protected]> wrote:
>
>> The 14.0.12 release still fails the following:
>> x = array()
>> x[1] = "A"
>> print x
>>                    <== blank
>> whereas:
>> x = array("A")
>> print x
>> A                 <== ok
>> x[1] = "B"
>> print x
>> B
>> but:
>> x[2] = "C"
>> print x
>> B
>>                   <== blank
>> Is this now the new behavior of arrays, that memory allocation must be
>> predefined?
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>
>


-- 
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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to