Boolean with OR ( || )



Boolean with OR ( || )
Smart pascal source code
var b: boolean; BEGIN b:= true; Writeln(b or b); Writeln(b or true); Writeln(b or false); Writeln(true or b); Writeln(false or b); b := false; Writeln(b or b); Writeln(b or true); Writeln(b or false); Writeln(true or b); Writeln(false or b); { CONSOLE OUTPUTS True True True True True False True False True False }