From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri May 22 2009 - 11:34:03 CDT

On Fri, 2009-05-22 at 12:06 -0300, Alberto Sergio Garay wrote:
> Hi all
>
> I'm wondering if it is possible to introduce some variables ($a)
> in the following command:
>
> mol selection {$a}

have you tried?

mol selection "$a"

when using curly braces in tcl, variables are not expanded,
in double quotes they are.

cheers,
   axel.

>
> I've tried to do it but without any success.
>
> Any suggestion is wellcome
>
> Sergio
>
>
>
>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.