Aug 19, 2014 #1 U u24c02 Advanced Member level 1 Joined May 8, 2012 Messages 404 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,298 Activity points 4,101 Hi i have question about tcl in design compiler. set SYNVER [getenv SYNVER] Does anyone explain to me above command? What is this [ ] and what this have meaning at all? thanks
Hi i have question about tcl in design compiler. set SYNVER [getenv SYNVER] Does anyone explain to me above command? What is this [ ] and what this have meaning at all? thanks
Aug 19, 2014 #2 M maulin sheth Advanced Member level 2 Joined Oct 24, 2010 Messages 502 Helped 90 Reputation 179 Reaction score 90 Trophy points 1,318 Location Bangalore, India Activity points 4,161 getenv SYNVER is for getting environment variable. above mentioned command will set SYNVER to the environment variable SYNVER.
getenv SYNVER is for getting environment variable. above mentioned command will set SYNVER to the environment variable SYNVER.
Aug 19, 2014 #3 J jbeniston Advanced Member level 1 Joined May 5, 2005 Messages 460 Helped 106 Reputation 214 Reaction score 73 Trophy points 1,308 Activity points 3,494 The [] means to execute the command inside the brackets (getenv), and return the result for use in the next command (set).
The [] means to execute the command inside the brackets (getenv), and return the result for use in the next command (set).
Aug 20, 2014 #4 R rca Advanced Member level 5 Joined May 20, 2010 Messages 1,527 Helped 355 Reputation 710 Reaction score 336 Trophy points 1,363 Location Marin Activity points 8,773 set SYNVER $env(SYNVER), should give the same result.