Mercurial > repos > tabletprog
view samples/logical.tp @ 135:f98790d8a53d
Add int64, int16 and int8. Also add hex method to integer types.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 08 Aug 2013 20:03:15 -0700 |
parents | 59a94f3ad56f |
children |
line wrap: on
line source
#{ foo <- { print: "foo\n" true } bar <- { print: "bar\n" false } baz <- { print: "baz\n" true } qux <- { print: "shouldn't be printed\n" true } main <- { foo && bar || (baz || qux) } }