I like to start a Tcl-Script in Synplify. Depending from the version of Synplify, it should do different things. But how can I find out which verion of Synplify i开发者_C百科t is, in the script? Is there any variable?
Thanks, Kai
The synhooks
(search the online help for "synhooks", there's some reasonable documentation) file can contain a function to run when Synplify opens. This function has the version passed to it as one of the parameters. I guess you could write that out to a file and read it with your other script.
I can't find a more pleasant way of doing it, sorry!
I found the solution. Just use program_version
.
精彩评论