interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / ng / front / cases / nom_struct_idx_trap.om

10 lines · 234 bytes Raw Blame History
1note Struct array field: a run-time index one past the field traps 3 (exit 103), not a neighbouring cell.
2struct H v uint 4 next ulong end
3fn five to ulong
4ret 4
5end
6fn main to int
7h = new H 1 2
8put h next 99
9ret int get h v five
10end