HELP! how to call a value from variable?
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting
 
guye  -  Thu Mar 03, 2011 11:48 am Reply with quote
Hello,

this is an example of my script

Code
 


lets say that i'm running it like this:
$> mget myvalue1

$a can be either myvalue1 or myvalue2 or any var that been set in the proc body.

how can i print out the value of $a ?


found the solution!
Code
 




Thanks,
Guy
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.