From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jun 04 2007 - 14:36:31 CDT

Hi,
  You want to use:
measure bond [list $typeA $typeB]

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Mon, Jun 04, 2007 at 05:32:02PM +0200, Philipp Schoen1 wrote:
>
> Dear Users
> I would like to to something like this:
> measure bond {$typeA $typeB} which should be similar as measure bond {1 2}.
> However I got the error message: expected integer but got "$typeA" measure
> bond: bad atom index.
> What is the correct syntax for doing this?
> Regards
> Philipp

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078