Mercurial > repos > tabletprog
view modules/true.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 { trueblock: } ifnot <- :self falseblock { self } if:else <- :self trueblock :elseblock { trueblock: } not <- { false } }