Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Generic-swap/QBasic/generic-swap.basic
Normal file
10
Task/Generic-swap/QBasic/generic-swap.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
SUB nswap (a, b)
|
||||
temp = a: a = b: b = temp
|
||||
END SUB
|
||||
|
||||
a = 1
|
||||
b = 2
|
||||
|
||||
PRINT a, b
|
||||
CALL nswap(a, b)
|
||||
PRINT a, b
|
||||
Loading…
Add table
Add a link
Reference in a new issue