Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62728

Forum Post: RE: If condition failure

$
0
0
Hi Lawrence, Our responses crossed. However, I don't think you're right. The three && conditions are surrounded by parentheses, and so the ! is doing the not of all of them, not just the first. Put another way, it's the same as your code. To show this, I used sstatus(printinfix nil) and pp'd the original code: (if (null (and (equal (getSGq svw libName) "lp_amr" ) (equal (getSGq svw cellName) "apple" ) (equal (getSGq svw viewName) "layout" ) ) ) then (printf "apple is absent\n") ) Regards, Andrew.

Viewing all articles
Browse latest Browse all 62728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>