interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / omega-reference / vendor / examples / mistake_short_circuit.om

10 lines · 261 bytes Raw Blame History
1note mistake_short_circuit: and/or evaluate both sides, so this still loads a[4] and traps 3 (exit 103)
2note fix: test the bound in an outer if, then load inside it
3fn main to int
4a = new uchar 4 0
5i = ulong 4
6if and lt i len a eq get a i 0
7ret 1
8end
9ret 0
10end