Re: Repeatedly calling function using IPC
- From: psalms_17@xxxxxxxxx
- Date: Sun, 13 Jan 2008 17:13:20 -0800 (PST)
On Jan 11, 9:20 am, "S. Badel" <stephane.ba...@xxxxxxxxxxxxxxxxx>
wrote:
procedure( PartChecking( strcvData )
le( (instCellName)
ATPPart = nil
if( (memq("PPMU" instCellName) || (memq("DPS"
instCellName)
then
ATPPart = "Part2"
else
if( (memq("vdc" instCellName) ||
(memq("idc" instCellName)
then
ATPPart = "Part1"
)
)
); let
)
I'm sorry, but your code doesn't make too much sense... Let alone the typo (le => let), you are
defining a local variable (instCellName), which is not initialized (well, to nil by default), and
then you are calling memq on this variable (which doesn't have a value).
The argument strcvData is not used, and ATPPart is global. The return value of your function doesn't
seem very well defined (unless you know what you are doing).
What's this procedure exactly supposed to accept as parameter, and what's it's expected return value ?
Stéphane- Hide quoted text -
- Show quoted text -
It's okay by the way thank you for your comment. I'm in a hurry when I
posted my question.Tnx...
.
- References:
- Re: Repeatedly calling function using IPC
- From: S. Badel
- Re: Repeatedly calling function using IPC
- Prev by Date: Warning
- Next by Date: Re: Help with warning message from spectre simulation
- Previous by thread: Re: Repeatedly calling function using IPC
- Next by thread: Warning
- Index(es):