开发者

How to find out which version of Synplify you're using in a tcl script

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜