interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / examples / err20_pread_text.om

8 lines · 334 bytes Raw Blame History
1note err20_pread_text: pread writes its array, so pread into a text is error 20, as for read.
2note pwrite from the same text compiles (pwrite_text.om). Up to omc 2c824805 (omega-mv e5b32567)
3note the two words were reversed: this compiled and pwrite from a text was error 20.
4text t "abc"
5fn main to int
6r = pread 0 t 0 3 0
7ret 0
8end