Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
12
Task/Generic-swap/DCL/generic-swap.dcl
Normal file
12
Task/Generic-swap/DCL/generic-swap.dcl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
$ a1 = 123
|
||||
$ a2 = "hello"
|
||||
$ show symbol a*
|
||||
$ gosub swap
|
||||
$ show symbol a*
|
||||
$ exit
|
||||
$
|
||||
$ swap:
|
||||
$ t = a1
|
||||
$ a1 = a2
|
||||
$ a2 = t
|
||||
$ return
|
||||
Loading…
Add table
Add a link
Reference in a new issue