Re: [Jmol-users] Function call with hash parameter - case conversion

2015-06-15 Thread Robert Hanson
This is fixed http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.15_2015.06.14b.zip On Mon, Jun 15, 2015 at 12:33 AM, Robert Hanson wrote: > Looks like it is as simple as this: > > >var firstPARAM = "p1_b"; >var SECONDparam = "p2_b"; > >x = ["FIRSTParam": "p1_a", secondPARAM: "p2_a"] >

Re: [Jmol-users] Function call with hash parameter - case conversion

2015-06-14 Thread Robert Hanson
Looks like it is as simple as this: var firstPARAM = "p1_b"; var SECONDparam = "p2_b"; x = ["FIRSTParam": "p1_a", secondPARAM: "p2_a"] print x giving { "FIRSTParam" : "p1_a" "secondparam" : "p2_a" } ​ Note that putting the names in quotes takes care of it. Looking into it

[Jmol-users] Function call with hash parameter - case conversion

2015-06-12 Thread Rolf Huehne
Hi all, in Jmol 14.3.14_2015.06.06 the case of hash keys of a parameter hash in a function call is sometimes converted to lower case. The conversion (at least) occurs if a variable with the same name as the hash key exists, independent of the case composition of the variable name. But only ins