CHARMM Development Project
Posted By: Edo Creating an array in CHARMM script? - 07/05/11 01:24 PM
Hi All,
I was wondering if it is possible to create an arbitrary array within in a CHARMM script? I'm aware that the 'scalar' keyword creates arrays, but from my reading of the documentation it appears to only do this as a function of the atom id. I would like to be able to define an array in the CHARMM script to the effect of:
stps[1]=100041
stps[2]=38781
... etc.

Any suggestions?
Thanks,
Ed
Posted By: rmv Re: Creating an array in CHARMM script? - 07/05/11 05:31 PM
See the detailed description of @@ syntax with the SET command, a bit over halfway through miscom.doc
© CHARMM forums