From 5cf69e933d8cb33df7e05275f5be4e7eab6bbcbe Mon Sep 17 00:00:00 2001 From: able Date: Sun, 11 Apr 2021 15:17:08 -0500 Subject: [PATCH] Updating examples --- able-script-test/functio.able | 6 ++++++ able-script-test/function.able | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 able-script-test/functio.able delete mode 100644 able-script-test/function.able diff --git a/able-script-test/functio.able b/able-script-test/functio.able new file mode 100644 index 00000000..f1ad098d --- /dev/null +++ b/able-script-test/functio.able @@ -0,0 +1,6 @@ +functio hello(words){ + words print; +} + + +hello("wonk"); diff --git a/able-script-test/function.able b/able-script-test/function.able deleted file mode 100644 index a723c1c5..00000000 --- a/able-script-test/function.able +++ /dev/null @@ -1,9 +0,0 @@ -functio something(a: isize, c: isize, r: &mut isize) { - *r = a + c; -} - -let a = 3; -let b = 4; -let mut r = 0; - -something(a, b, &mut r);