Updating examples
This commit is contained in:
parent
6719d955e8
commit
5cf69e933d
6
able-script-test/functio.able
Normal file
6
able-script-test/functio.able
Normal file
|
@ -0,0 +1,6 @@
|
|||
functio hello(words){
|
||||
words print;
|
||||
}
|
||||
|
||||
|
||||
hello("wonk");
|
|
@ -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);
|
Loading…
Reference in a new issue