omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-harness / examples / mistake_param_length.om
| 1 | note mistake_param_length: a sized array parameter takes exactly that length; use OM-2 view T * for any length |
| 2 | fn f a view uchar 4 to uchar |
| 3 | ret get a 0 |
| 4 | end |
| 5 | fn main to int |
| 6 | b = new uchar 8 0 |
| 7 | ret int f b |
| 8 | end |