aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / omega-reference / vendor / examples / mistake_c_call.om
| 1 | note mistake_c_call: a call is the function name then its values, no brackets or commas. Fix: ret f 1 2 |
| 2 | fn f a int b int to int |
| 3 | ret add a b |
| 4 | end |
| 5 | fn main to int |
| 6 | ret f(1, 2) |
| 7 | end |