Re: [Jmol-users] Really Old Question

2016-03-26 Thread Otis Rothenberger
Rolf, Thanks for the zero index information and the new for-loop syntax. Otis -- Otis Rothenberger o...@chemagic.org http://chemagic.org > On Mar 26, 2016, at 4:05 PM, Rolf Huehne wrote: > > New syntax -- > load =1deh; > startTime = now(); > x={*}; > for (var i from [1 x.size]){ >

Re: [Jmol-users] Really Old Question

2016-03-26 Thread Rolf Huehne
Am 26.03.16 um 15:07 schrieb Otis Rothenberger: > Bob, > > I was reviewing some old code, and an atomindex vs atomno question came up. > If I load methane, the following results: > > print {*}[0].atomno returns 5 > print {*}[1].atomno returns 1 > print {*}[2].atomno returns 2 > print {*}[3].atomn

[Jmol-users] Really Old Question

2016-03-26 Thread Otis Rothenberger
Bob, I was reviewing some old code, and an atomindex vs atomno question came up. If I load methane, the following results: print {*}[0].atomno returns 5 print {*}[1].atomno returns 1 print {*}[2].atomno returns 2 print {*}[3].atomno returns 3 print {*}[4].atomno returns 4 print {*}[5].atomno re