From 326f68d7cf43c8c30fa9ce40ed10cde153859acf Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 20 May 2016 16:44:41 +0200 Subject: [PATCH] ding --- examples/high.spl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/high.spl b/examples/high.spl index bee8ccb..a6ce7de 100644 --- a/examples/high.spl +++ b/examples/high.spl @@ -2,6 +2,16 @@ plus(x, y) { return x + y; } +run(x) { + x(); + return; +} + +helloworld() { + print('h':'e':'l':'l':'o':' ':'w':'o':'r':'l':'d':'!':[]); + return; +} + main (){ var a = read; var b = read(); @@ -9,5 +19,6 @@ main (){ var d = plus(1); var e = plus(1, 2); var f = d(41); + run(helloworld); return 5; } -- 2.20.1