langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
17
Task/Inverted-syntax/OxygenBasic/inverted-syntax.oxy
Normal file
17
Task/Inverted-syntax/OxygenBasic/inverted-syntax.oxy
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
macro cond(a,c) {c then a}
|
||||
|
||||
macro store(b,a) {a=b}
|
||||
|
||||
sys a,c=10
|
||||
|
||||
if c>4 then a=4
|
||||
|
||||
'INVERTED SYNTAX FORMS:
|
||||
|
||||
cond a=40, if c>4
|
||||
|
||||
store 4,a
|
||||
|
||||
'COMBINED:
|
||||
|
||||
cond store(5,a), if c>4
|
||||
Loading…
Add table
Add a link
Reference in a new issue