forked from AbleScript/ablescript
Added carts example
This commit is contained in:
parent
1f891353df
commit
6de8c17c19
8
able-script-test/carts.able
Normal file
8
able-script-test/carts.able
Normal file
|
@ -0,0 +1,8 @@
|
|||
functio helloable() {
|
||||
"Hello, Able!" print;
|
||||
}
|
||||
|
||||
var cart = ["able" <= 42, helloable <= "hello"];
|
||||
|
||||
cart[42] print;
|
||||
cart["hello"]();
|
Loading…
Reference in a new issue