Incredible, Bob! Perfection in one line! Voila!
(I suspect there are only a handful of people in the world who could
come up with that second line of code, and I'm not one of them. Well
I'll learn a bit more about Jmol code from your amazing line of code.)
Yes you have earned a big grin many times over! Thanks!!!
Eric
On 8/25/15 7:52 PM, Robert Hanson wrote:
with right-justification of the serial numbers:
{*}.atomIndex.all[1][b.length].add(1).format("%5i").join(b).join("\t",true)
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users