From: zhjjvmd (
Date: Sun Apr 06 2008 - 01:17:54 CDT

Dear axel,

Oh, I am sorry for my fault, it is wrote by Christopher J. O'Brien (The Pennsylvania State University
Department of Engineering Science and Mechanics)!

Ok, I will try by best to learn the knowledge of Tcl/TK, thanks for your advice!

Best regards,


发件人: Axel Kohlmeyer
发送时间: 2008-04-06 13:58:41
收件人: zhjjvmd
抄送: vmd-l
主题: Re: vmd-l: About Tcl command
dear damien,

2008/4/5 zhjjvmd < >:
> Dear all,
> I am rookie at VMD, recently I want to load the attached Tcl script
> "pdbofactor.tcl", which is wrote by Axel Kohlmeyer (U Penn). I open the Tcl

no, that file was _not_ written by me.

> console from vmd' main menu—Extensions—TK console, and enter such command
> and then encounter such errors as follows:
> Main console display active (Tcl8.4.1 / Tk8.4.1)
> (vmdcsp) 1 % source /home/zhjj/work/vmdcsp/pdbofactor.tcl


> >Main < (vmdcsp) 2 % ./pdbofactor.tcl dump.csp.pdb

please _read_ the file and you'll see, that you are not using
it correctly. in order to understand why, you should go and
learn a little about TCL scripting, e.g., from the tcl/tk tutorials
at this is not a VMD problem...


> ./pdbofactor.tcl: line 5: proc: command not found
> ./pdbofactor.tcl: line 6: mol: command not found
> ./pdbofactor.tcl: line 27: syntax error: unexpected end of file
> >Main < (vmdcsp) 3 %
> So will anybody could give me some instruction how to solve it? Thank you!
> Best regards,
> Damien
> 2008-04-06 ________________________________
> zhjjvmd

Axel Kohlmeyer
 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.