Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omc/om2/s4/v-trap-write.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omc / om2 / s4 / v-trap-write.om` 12 lines ยท 301 bytes Raw Blame History 1 note S4: write keeps its slice check on an unsized view (spec 6): off 2, n 3 on a count of 4 traps 3 2 note before the call (exit 103) after the first write (off 1, n 3) printed AAA. 3 om2 4 fn g v view uchar * to void 5 w = write 1 v 1 3 6 w = write 1 v 2 3 7 end 8 fn main to int 9 a = new uchar 4 65 10 g a 11 ret 0 12 end