|
19th June 2006, 09:33 PM | #1 |
Member
Advanced member
Join Date: May 2006
Posts: 36
|
Re: TCL Globals
ok, figured out what I'm doing wrong.
Change the code to the following and it works. Code:
proc test {}{ global PI set PI 3.14 test2 } proc test2 {}{ global PI puts $PI } |
|
|