Add example-3.c6l
This commit is contained in:
parent
76cd607bab
commit
fa4458e2d7
1 changed files with 14 additions and 0 deletions
14
wip-duuqnd/user-side-compiler/example-3.c6l
Normal file
14
wip-duuqnd/user-side-compiler/example-3.c6l
Normal file
|
@ -0,0 +1,14 @@
|
|||
for x do 16 times
|
||||
if x == 5 then
|
||||
drawline(0, 0, 10, 10)
|
||||
if 1 == y then
|
||||
set_background(4)
|
||||
else
|
||||
set_background(0)
|
||||
end
|
||||
y = 1
|
||||
else
|
||||
set_background(0)
|
||||
drawline(100, 100, 120, 120)
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue