following on Mike's suggestion, you can combine it nicely as:
print {_S and connected(_S)}.size / 2;
will give you the number of SS bonds
or in a variable:
nSSbonds = {_S and connected(_S)}.size / 2;
then
print @nSSbonds
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users