Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I want to compare 2 multi digit numbers, say $x = 99 and $y = 158.. the operation: if ($x gt $y)
{print $x;}
the result gives 99 as the answer.. Probably because 9 is greater...
What is meant by the TCL command "ECHO".. I have a command line in the script i am dealing with which says "echo $1".. $1 is the first argument in the command line.. What is meant by "echo"??
Suppose i have a tcl file to be run, say test.tcl.. and i want to specify the file to be tested, say test.tcl file1. wha do i do to extract "file1" from the command line and perform the test on the file.. i need a tcl command, that helps extract the argument from the command line..
suppose i have a script execute.tcl written in tcl.. and i give the command as "execute.tcl new old used".. how do i extract the arguments "new", "old" and "used"??? can i use the "chomp" to remove the space after and before each argument???
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.