Am 28.03.15 um 02:38 schrieb Robert Hanson: > simple enough! Great idea, Rolf. Just use "." > > Jmol.___JmolVersion="14.3.13_2015.03.27" > > new feature: "." notation extended to x.[a] > disambiguifies x[a][b][c]... > allows for variables and expressions in "." notation > i = 2 > x = [1,[2 3 4 [5 6 7]],3] > show x[2].[4].[i] > > 6 > > x = [ 1,[ 2,3,4,[ 5,6,7 ],{ "testing":"now" } ],3 ] > x[i + 1].[5].["testing"] = "again" > show x > > x = [ 1,[ 2,3,4,[ 5,6,7 ],{ "testing":"again" } ],3 ] > Thank you very much, Bob!
Using '.' instead of '->' is fine for me. Regards, Rolf ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers