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 / omc / tests / loop / c1.om

13 lines · 182 bytes Raw Blame History
1note continue in a while jumps to the head: 1 + 2 + 4 + 5 + 6 = 18
2fn main to ulong
3i = ulong 0
4s = ulong 0
5while lt i 6
6i = add i 1
7if eq i 3
8continue
9end
10s = add s i
11end
12ret s
13end