From: Lubos Vrbka (shnek_at_tiscali.cz)
Date: Wed Dec 01 2004 - 10:29:25 CST

thanks to jerry and john...

i played with it a bit and it seems to be almost done...

following commands
set sel [atomselect top "...selection text..."]
$sel num
print out the correct number of residues conforming to selection.

i tried to cycle this
set n [molinfo top get numframes]
for { set i 0 } { $i < $n} { incr i } {
   $sel frame $i
   $sel update
   $sel num
}
computer does the calculation, but nothing is printed to the console.
what is wrong here? how do i print the output and how can i redirect
such an output to a file?

regards,

-- 
Lubos
_@_"