diff 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 diff
--- a/modules/false.tp	Thu Jul 26 18:54:42 2012 -0700
+++ b/modules/false.tp	Thu Jul 26 23:40:56 2012 -0700
@@ -2,6 +2,9 @@
 	if <- :self trueblock {
 		self
 	}
+	ifnot <- :self falseblock {
+		falseblock:
+	}
 	if:else <- :self trueblock :elseblock {
 		elseblock:
 	}