From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Thu Oct 28 2010 - 06:56:02 CDT

Dear all,

I believe the following script should work, but it returns "can't unset
"upproc_var_atomselect23903": no such variable" .

Best regards,
Ajasja

proc freesel {sel} {
 $sel delete
}

proc atest {sel} {
  set a [atomselect top $sel]
  $a global
  return $a
}

proc dotest {} {
  set selx [atest "protein"]
  freesel $selx
}
dotest