Compare boolean |
Pas2JS pascal source code
var a = True; b = False; Begin if (a=b) then WriteLn('True = False'); if (a<>b) then WriteLn('True <> False'); if (b=a) then WriteLn('False = True'); if (b<>a) then WriteLn('False <> True'); a := b; if (a=b) then WriteLn('False = False'); if (a<>b) then WriteLn('False <> False'); { <<< CONSOLE OUTPUTS >>> True <> False False <> True False = False }