From: mason H (tailermason_at_gmail.com)
Date: Fri Oct 10 2014 - 12:58:47 CDT

hello,
  I would like to set a variable with a resname from a protein residue.

I can easily do
  set sel1 [atomselect top "segname SegA and resid 101"]

and I can do
               [atomselect top "segname SegA and resid 101"] get resname
to get the resname

.But how can I get something like this to work:
  set myResVariable [atomselect top "segname SegA and resid 101"] get
resname

Thank you