Danny Leolux
5th January 2007, 15:25
Can anyone tell me how/where to declare global variables in constraints (PCF) ? We want to use a variable in a PCF for a generic item without have to declare it in every constraint of the item.
Many thanks in advance,
Danny
filipd
5th January 2007, 16:16
Hi,
Just add the word "global" behind the variable declaration.
Example :
long length global
Regards.
Danny Leolux
5th January 2007, 17:06
When I try this compiling the Generic Item gives an error:
'GLOBAL only expected in system header'
What am I doing wrong here ?
Danny
filipd
8th January 2007, 17:18
I would need the constraint to see what is wrong.
Can you attach it to a reply ?