Mercurial > repos > tabletprog
view samples/private.tp @ 298:647f7a2d253b
Committing a simple macro example I put together a while ago
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 24 Jul 2014 23:55:59 -0700 |
parents | cd41f7c22fcd |
children |
line wrap: on
line source
#{ makeobj <- { foo <- 40 #{ bar <- { foo } inc <- { foo <- foo + 1 1 } } } main <- { baz <- makeobj: inc: baz inc: baz bar: baz } }