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

10 lines
114 B
Objective-C

> a(1) && b(1);
a: 1
b: 1
> a(0) && b(1);
a: 0
> a(1) || b(1);
a: 1
> a(0) || b(1);
a: 0
b: 1