Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2008, 03:15 PM
baddy's Avatar
baddy baddy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: St. Louis, MO
Posts: 272 baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 3 h 43 m 6 sec
Reputation Power: 26
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Need basic TCL help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT