Thread
:
TCL Globals
View Single Post
19th June 2006, 08:43 PM
#
1
conzar
Member
Advanced member
Join Date: May 2006
Posts: 36
(Solved) TCL Globals
I'm having trouble using global variables in tcl.
Here is an example of my problem
Code:
proc test {}{ global PI set PI 3.14 test2 } proc test2 {}{ puts $PI }
Whats wrong with this? Or does AC3D use an interpreter that doesn't allow globals?
Last edited by conzar; 19th June 2006 at
09:34 PM
.
conzar
View Public Profile
Send a private message to conzar
Find More Posts by conzar