Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Generic-swap/Icon/generic-swap.icon
Normal file
8
Task/Generic-swap/Icon/generic-swap.icon
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
procedure main()
|
||||
x := 1
|
||||
y := 2
|
||||
x :=: y
|
||||
write(x," ",y)
|
||||
# swap that will reverse if surrounding expression fails
|
||||
if x <-> y & x < y then write(x, " ", y)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue