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 / n2.om

13 lines · 177 bytes Raw Blame History
1note a break outside the inner loop targets the outer loop: 2 + 2 = 4
2fn main to ulong
3n = ulong 0
4for i ulong 3
5for j ulong 2
6n = add n 1
7end
8if eq i 1
9break
10end
11end
12ret n
13end