VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Mon Jun 04 2007 - 10:26:18 CDT
- Next message: xiaoqin huang: "labeling for movie title"
- Previous message: Stern, Julie: "load state and alignments"
- In reply to: Philipp Schoen1: "Distance measurement via measure bond"
- Next in thread: John Stone: "Re: Distance measurement via measure bond"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, 4 Jun 2007, Philipp Schoen1 wrote:
PS>
PS> Dear Users
PS> I would like to to something like this:
PS> measure bond {$typeA $typeB} which should be similar as measure bond {1 2}.
please check the basic tcl syntax. { } is a literal string/list,
if you want variables to be expanded you have to use " " instead.
cheers,
axel.
PS> However I got the error message: expected integer but got "$typeA" measure
PS> bond: bad atom index.
PS> What is the correct syntax for doing this?
PS> Regards
PS> Philipp
PS>
-- ======================================================================= 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.
- Next message: xiaoqin huang: "labeling for movie title"
- Previous message: Stern, Julie: "load state and alignments"
- In reply to: Philipp Schoen1: "Distance measurement via measure bond"
- Next in thread: John Stone: "Re: Distance measurement via measure bond"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]