'bind' as a declarative statement

This commit is contained in:
Araq 2011-10-10 02:04:15 +02:00
commit 51e01879ba
18 changed files with 204 additions and 93 deletions

View file

@ -0,0 +1,10 @@
var
gx = 88
gy = 44
template templ*(): int =
bind gx, gy
gx + gy

View file

@ -0,0 +1,5 @@
import mtempl5
echo templ()