S
S. Badel
Guest
I'm sorry, but your code doesn't make too much sense... Let alone the typo (le => let), you areprocedure( 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
)
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