omnet
aien-dev/omnet
Brought by drakestapleton
omnet / om / quantity / fixtures / mixed-quantity.om
| 1 | note Compile after quantity.om; expected compiler error7 at scalar argument. |
| 2 | fn scalar raw ulong to ulong |
| 3 | ret raw |
| 4 | end |
| 5 | fn main to int |
| 6 | a = new qty ulong 1 ulong 9 |
| 7 | ret int scalar a |
| 8 | end |