This example picks the bond length between the ``c" and the ``o" atom of residue 1:
pick bond ( resid 1 and name c ) ( resid 1 and name o ) geometry end