VarBool




'Instead of using an If construct to set a Boolean variable, you can assign a Boolean

'variable to the result of any logical comparison. For example, instead of this code:


'If MyNumber > 32 Then

' BooleanVar = True

'Else

' BooleanVar = False

'End If


'Use this code:


BooleanVar = (MyNumber > 32)











( varbool.html )- by Paolo Puglisi - Modifica del 17/12/2023