Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Generic-swap/BASIC256/generic-swap.basic
Normal file
12
Task/Generic-swap/BASIC256/generic-swap.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
global a, b
|
||||
a = "one"
|
||||
b = "two"
|
||||
|
||||
print a, b
|
||||
call swap(a, b)
|
||||
print a, b
|
||||
end
|
||||
|
||||
subroutine swap(a, b)
|
||||
temp = a : a = b : b = temp
|
||||
end subroutine
|
||||
Loading…
Add table
Add a link
Reference in a new issue