
July 18th, 2008, 03:15 PM
|
 |
Contributing User
|
|
Join Date: Jul 2002
Location: St. Louis, MO
|
|
|
Need basic TCL help
Hi, I am trying to learn TCL, mainly because we have software at work that uses TCL for scripts within the program. Over the year I have been able to do some basic scripts in the program that do what I need, but I would like to get better at it.
I have isntalled ActiveTcl 8.5 on my Windows XP computer, but when I run a very basic script in it that works fine in our software, it doesnt appear to work in ActiveTcl. Here is an example:
Code:
set s1 "blah";
return $s1;
I am just looking for it to return the contents of that variable, but when I run the script on my computer it does nothing.
Code:
C:\Tcl\scripts>tclsh85 sand.tcl
C:\Tcl\scripts>
Is there something fundamentally wrong with the way I am trying to do things there? Thanks,
baddy
|