at 11.02p EDT on 2004 February 26 Thursday Miguel Howard said: > Tim wrote: > > greetings, > > > > after some fiddling, I realized that Jmol's pickCallback returns the > > atom data as an Object, not a String. I can't seem to cast it into a > > String using javascript, which means I can't do grep, split, slice, etc. > > any help? > > > > (I've tried toString() but it does not work.) > > Tim, > > What properties do you want to get from the atom? > anything and everything accessible. (who was it that made fun of me about having control issues? ;-)
based on the visible return via pickCallback, I was trying to extract the following to start: atom atomno group groupno chain I have the (simple) javascript routine in place, but none of the string methods work. once I read the data type of the return value, I realized why. regards, :tim -- timothy driscoll molvisions - molecular graphics & visualization <http://www.molvisions.com/> usa:north carolina:wake forest ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

