ox

The Ox programming language, compiler and tools (WIP)
Log | Files | Refs | README | LICENSE

ex-return-func-call.ox (136B)


      1 fn yes_we_can() i64 {
      2     return 5;
      3 }
      4 
      5 fn can_we_do_this() i64 {
      6     return yes_we_can();
      7 }
      8 
      9 fx main() {
     10     print(can_we_do_this());
     11 }