VMD-L Mailing List
From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Wed Jan 22 2014 - 14:02:35 CST
How exactly do you call your script?
On Jan 22, 2014, at 1:29 PM, Subbarao Kanchi <ksubbu85_at_gmail.com> wrote:
> Dear All,
> I am using VMD in test mode (vmd -dispdev text ). I run the following commands in vmd command prompt and are working good. But I write same commands in a script.tcl and script is sourced in command prompt, it gives an error "invalid command name "last"". I will appreciate any suggestion to over come this problem.
> mol new .psf type psf
> mol addfile .dcd type dcd first 5000 last -1 step 1
> Thanks and regards,
> Subbarao Kanchi.