Hi Bob,

once again I have found a situation where the case of hash keys is 
changed during the hash definition.

It seems that the words 'function' and 'process' (and maybe others?) 
trigger the key conversion to lower-case in a hash definition if no 
quotes are used, tested in Jmol 14.4.3_2016.02.17 and 14.4.1_2015.12.16:

---- Example code ----------------
hashTest = [Component: "mediumturquoise",
             Function:  "lightskyblue",
             Process:   "deepskyblue"
            ];
print hashTest;

hashTest = ["Component": "mediumturquoise",
             "Function": "lightskyblue",
             "Process": "deepskyblue"
            ];
print hashTest;

---- Example output --------------
{
   "Component"  :  "mediumturquoise"
   "function"  :  "lightskyblue"
   "process"  :  "deepskyblue"
  }

{
   "Component"  :  "mediumturquoise"
   "Function"  :  "lightskyblue"
   "Process"  :  "deepskyblue"
  }
----------------------------------

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute on Aging - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rolf.hue...@leibniz-fli.de
Website: http://www.leibniz-fli.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Burkhard Zinner

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to