Jun 26, 2009 #1 T Tom2 Full Member level 5 Joined Nov 11, 2006 Messages 318 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,298 Activity points 3,457 how to run tcl file I try to write a code in tcl language (in linux). The problem is that i don't know how to run this code. Is anyone who can help ??????????????????
how to run tcl file I try to write a code in tcl language (in linux). The problem is that i don't know how to run this code. Is anyone who can help ??????????????????
Jun 28, 2009 #2 I iHarshal Newbie level 2 Joined Feb 14, 2008 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,289 arabic version of run code We execute the tcl file by using the command 'source' as: source tcl_file at the tcl prompt.
arabic version of run code We execute the tcl file by using the command 'source' as: source tcl_file at the tcl prompt.
Jun 28, 2009 #3 B bharundi Member level 5 Joined Dec 31, 1999 Messages 90 Helped 5 Reputation 10 Reaction score 5 Trophy points 1,288 Activity points 670 run tcl code You can also have the following as the first line: #!/usr/bin/tclsh # <reset of code> then specify the name of the script at the command as: $> ./<scriptName> Also make sure that the file access attribute of the script include "executable", if not do: $> chmod +x <scriptName>
run tcl code You can also have the following as the first line: #!/usr/bin/tclsh # <reset of code> then specify the name of the script at the command as: $> ./<scriptName> Also make sure that the file access attribute of the script include "executable", if not do: $> chmod +x <scriptName>