damon> You should easily be able to separate the code. 

Good!

  damon> The main and init procedures are there as guidelines, but you
  damon> can replace them with any content you wish.  I do exactly
  damon> what you're talking about all the time.  I put all of my GUI
  damon> code into a file called windows.tcl and all my application
  damon> code into something like utils.tcl or common.tcl.  Then, in
  damon> my init procuedure, I can just source the .tcl files as
  damon> needed.

You place the "source" command *within* the "init" proc?  

Seems like you'd do it outside of all proc bodies (like a "#include"
in C/C++), otherwise the "scoping" would be weird, no?

Thanks for your comments!

  -Kenneth

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to