RosettaCodeData/Task/Short-circuit-evaluation/Mathematica/short-circuit-evaluation-1.math
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

5 lines
95 B
Text

a[in_] := (Print["a"]; in)
b[in_] := (Print["b"]; in)
a[False] && b[True]
a[True] || b[False]