diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 16:21:15 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 16:21:15 -0500 |
| commit | 73843fa284968b4efb0ae51858cb37d0189c4b83 (patch) | |
| tree | 278982b5b0b8fdb933d5d57f801145ab7cbf99aa /examples/hello.sloth | |
| parent | 7d14243f769ad911d7c057b891ed89a95d7c1bfd (diff) | |
| download | sloth-73843fa284968b4efb0ae51858cb37d0189c4b83.tar.gz | |
filer added to std
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"); |
