From: Matt Veter (veter_at_pdx.edu)
Date: Tue May 07 2019 - 13:28:49 CDT

Hello all,

I have been trying to write a script for Tcl to automate the preparation of
MD configuration files. When I test the script directly in the VMD Tk
console, everything runs as expected. However, when I try and source the
script using the same code, I receive an error message.

The script is attached. This is the error I receive when sourcing:

vmd > source test.tcl
wrong # args: should be "foreach varList list ?varList list ...? command"

Thanks