view modules/false.tp @ 97:59a94f3ad56f

Added short-circuit && and || operators
author Mike Pavone <pavone@retrodev.com>
date Thu, 26 Jul 2012 23:40:56 -0700
parents 01b6f8204cdf
children 1417f13f219c
line wrap: on
line source
#{
	if <- :self trueblock {
		self
	}
	ifnot <- :self falseblock {
		falseblock:
	}
	if:else <- :self trueblock :elseblock {
		elseblock:
	}
	not <- {
		true
	}
}