Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
22
Task/Generic-swap/FutureBasic/generic-swap.futurebasic
Normal file
22
Task/Generic-swap/FutureBasic/generic-swap.futurebasic
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
include "ConsoleWindow"
|
||||
|
||||
dim as long i, j
|
||||
dim as double x, y
|
||||
dim as Str15 a, b
|
||||
|
||||
i = 1059 : j = 62
|
||||
print i, j
|
||||
swap i, j
|
||||
print i, j
|
||||
print
|
||||
|
||||
x = 1.23 : y = 4.56
|
||||
print x, y
|
||||
swap x, y
|
||||
print x, y
|
||||
print
|
||||
|
||||
a = "Hello" : b = "World!"
|
||||
print a, b
|
||||
swap a, b
|
||||
print a, b
|
||||
Loading…
Add table
Add a link
Reference in a new issue