views:

47

answers:

1

Hi y'all...

When hasLayout = -1 is it set to true or false....?

Thanks..!

+1  A: 

Customarily 0 indicates false and all other values are true.

However if it's an HTML attribute it might be parsed differently because Microsoft says valid values are true or false

It appears that in your example, the intention of the programmer was to specify a true value (by customary means) but they should have used true or false, otherwise they might be conveying the wrong meaning.

John K