Hello Everyone,
What is the best way to call a perl script from within a tcl script?
For example:
content of code1.tcl:
exec /Users/Mac/desktop/hello.pl
content of hello.pl:
print "hello";
When I invoke hello.pl from within code1.pl, I get an error message saying the command print cannot...
Hello Everyone,
I have been trying to figure out why the below expr doesn't work, but to no avail, and am hoping that one of you could shed some light on the issue.
if {$pointX < [expr ([lindex $x $m]-[lindex $x $l]) * ($pointY-[lindex $y $l])]} {
puts "hello"
}
when
[lindex $x $m] =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.