From: Marzieh Alishahi (alishahi.mar_at_gmail.com)
Date: Thu Feb 21 2013 - 03:26:33 CST

Dear VMD users

I know it might be a simple question, but I will be so grateful if you help
me.

I want to put all the serial id of ion atoms in an array, I tried the
following commands;

*set ion [atomselect top “ion”]*

*$ion get serial*

The second line gives me the serial number of all atoms, which are not in
array format. Can you help me how I can put this sequence of numbers in
array format?

Thanks in advance

Marzieh Alishahi