omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-harness / examples / err20_pread_text.om
| 1 | note err20_pread_text: pread writes its array, so pread into a text is error 20, as for read. |
| 2 | note pwrite from the same text compiles (pwrite_text.om). Up to omc 2c824805 (omega-mv e5b32567) |
| 3 | note the two words were reversed: this compiled and pwrite from a text was error 20. |
| 4 | text t "abc" |
| 5 | fn main to int |
| 6 | r = pread 0 t 0 3 0 |
| 7 | ret 0 |
| 8 | end |