From 73843fa284968b4efb0ae51858cb37d0189c4b83 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Wed, 28 Jun 2023 16:21:15 -0500 Subject: filer added to std --- examples/hello.sloth | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples/hello.sloth') 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"); -- cgit v1.2.3