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

5 lines
117 B
Text

def a(v) { println("a"); return v }
def b(v) { println("b"); return v }
def x := a(i) && b(j)
def y := b(i) || b(j)