what you are testing there Rubberduck is if a(0).bool exsists! even this prints "its zero!"
type test
bool as boolean
endtype
dim a(0) as test
a(0).bool = 1
print str$(bool)
if a(0).bool then Print "its zero!"
input ""
to compare 'a(0).bool' correctly you need to compare it to another boolean value, NOT an integer or wether it exsists or not!
it would be great if this worked with boolean types
if a(0).bool = 0 then Print "its zero!"
What the flame does not consume, consumes the flame.
------------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Home