Scripting help - PathCns - Dan 's attempt in Jscript.... 2005-06-03 - By Bernard Lebel
Back That happened to me as well, but only with Python scripts. Perhaps you did use a capital for the boolean value?
I don't know for other langages, but in Python, the boolean value is a subtype of the integer type. Therefore, using an integer instead of boolean (True/False -> 0/1) will always work, because it is essentially the same value.
Cheers Bernard
Dan Yargici wrote:
> > P.S. I've just realised I forgot to ask something else, occasionally > in my script I would get errors where I had a true or false - > ".....addparameter3( "Value", siInt2, 1, 0, 4, true, false )" for > instance. If I swapped them, for 1s or 0s things would work. Anyone > experienced that before? Is there a logical reason?
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|