Logical operations: Difference between revisions

Added XLISP
(Added FutureBasic example)
(Added XLISP)
Line 2,266:
Console.WriteLine("Or, short-circuited " & a OrElse b)
End Function</lang>
 
=={{header|XLISP}}==
<lang lisp>(defun logical-functions (a b)
(print `(a and b = ,(and a b)))
(print `(a or b = ,(or a b)))
(print `(not a = ,(not a))) )</lang>
 
=={{header|XPL0}}==
519

edits