From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Thu Oct 28 2010 - 08:16:14 CDT

I'm sorry, I forgot to append the VMD version and OS:

Info) VMD for WIN32, version 1.8.7 (August 1, 2009)
Info) http://www.ks.uiuc.edu/Research/vmd/
Info) Email questions and bug reports to vmd_at_ks.uiuc.edu
Info) Please include this reference in published work using VMD:
Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
Info) -------------------------------------------------------------
Info) Multithreading available, 4 CPUs detected.
Info) Free system memory: 4095MB (100%)
Info) Detected 1 available CUDA accelerator:
Info) [0] GeForce GTS 250 16 SM_1.1 @ 1.85 GHz, 1005MB RAM, OIO
Info) Creating CUDA device pool and initializing hardware...
Info) OpenGL renderer: GeForce GTS 250/PCI/SSE2
Info) Features: STENCIL MDE CVA MTX NPOT PP PS GLSL(OVF)
Info) Full GLSL rendering mode is available.
Info) Textures: 2-D (8192x8192), 3-D (2048x2048x2048), Multitexture (4)
Info) No joysticks found. Joystick interface disabled.

On Thu, Oct 28, 2010 at 13:56, Ajasja Ljubetič <ajasja.ljubetic_at_gmail.com>wrote:

> 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
>