From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Sun Apr 06 2008 - 00:58:40 CDT

dear damien,

2008/4/5 zhjjvmd <zhjjvmd_at_gmail.com>:
>
>
> 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

ok.

> >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 www.tcl.tk. this is not a VMD problem...

cheers,
   axel.

> ./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 akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu
 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.