Boolean Data type

TomGuy
10-04-2001, 08:58 AM
Is there a way to set a boolean data type to neither True nor False? I tried setting it to nothing but I get a compile error; Object required.

Thanks,

TomGuy

Ad1
10-04-2001, 09:02 AM
I don't think so, you could just use an integer as a switch with 0, 1, or 2

Banjo
10-04-2001, 09:06 AM
No, a boolean type must be either True or False.
If you need a tri-state variable then use an Enum type or a simple integer.

TomGuy
10-04-2001, 09:14 AM
K, thanks.

TomGuy

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum