diff options
Diffstat (limited to 'examples/hello.sloth')
| -rw-r--r-- | examples/hello.sloth | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/hello.sloth b/examples/hello.sloth index 75071c3..8f42051 100644 --- a/examples/hello.sloth +++ b/examples/hello.sloth @@ -1,7 +1,3 @@ -foreign fn printdeez(nutz: Int); -foreign fn print(str: String); -foreign fn randGen(min: Int, max: Int) Int; - fn main() Int { var x: [Int] = [5]; vpopi(x); @@ -15,7 +11,7 @@ fn main() Int { var y: Int = vgeti(x, 45); var y: Int = vgeti(x, 41); var y: Int = vgeti(x, 49); - printdeez(y); + println(istr(y)); print("Hello World\n"); |
