Boolean values for use in logical expressions.
$var = False $var = True
These keywords should not be used in other than logical expressions, as AutoIt will not detect this 'misuse' and the results will be unpredictable.
IsBool
#include <MsgBoxConstants.au3> Local $bBoolean = False If Not ($bBoolean = True) Then MsgBox($MB_SYSTEMMODAL, "Bool comparison", "OK") ; If $bBoolean is NOT equal to True then display the messagebox