Re: Boolean variable

Just wondering. Is this redundant?

dim a, b, c as boolean
a = False
b = False
c = False

Just do:

Dim a,b,c as boolean = false

'or simply dim because the default is false
Dim a,b,c as boolean

OK, thanks. I wasn’t sure.

Just my thought, even though the default is false, I like to make it explicit just for documentation purposes. Makes the code just a little more clear.