Revision: 20788
          http://sourceforge.net/p/jmol/code/20788
Author:   hansonr
Date:     2015-09-22 04:53:25 +0000 (Tue, 22 Sep 2015)
Log Message:
-----------
Jmol.___JmolVersion="14.3.16_2015.09.21b"

new feature: x = @a
  -- deep copy for a = array or associative array
  -- @a for string variable still gets the value of the variable named by 
variable a
    
note: "deepCopy":

 function deepCopy(a) {
  switch (a.type) {
  case "hash":
    var b = {};
    for (var key in a)
      b[key] = deepCopy(a[key]);
    return b;
  case "array":
    var b = [];
    for (var j = a.length; j > 0; --j) 
      b[j] = deepCopy(a[j]);
    return b;
  default:
    return a;
  }
}


new feature: for allows one continuation line, as in JavaScript and Java
  -- for example:
        for (i = 1; i <= 3; i++)
          print i;

bug fix: for (key in hash){...} fails upon functional iteration (deepCopy)
  -- code was reusing the FOR variable when it should have been caching it in 
the context stack
  

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-09-22 04:52:10 UTC 
(rev 20787)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-09-22 04:53:25 UTC 
(rev 20788)
@@ -57,15 +57,13 @@
 that still places it in the "proper" place even when perspective is on. 
(Daniele Tomerini)
 
 
-TODO: image off  stops JSmol
+TODO: image (not found)  stops JSmol
 
-TODO: ketene messes up orbitals for O;
-
 Jmol.___JmolVersion="14.3.16_2015.09.21b"
 
 new feature: x = @a
   -- deep copy for a = array or associative array
-  -- @a for string variable still gets the value of the variable named by a
+  -- @a for string variable still gets the value of the variable named by 
variable a
     
 note: "deepCopy":
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to