Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
28
Task/Generic-swap/FutureBasic/generic-swap.basic
Normal file
28
Task/Generic-swap/FutureBasic/generic-swap.basic
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
window 1, @"Generic Swap", (0,0,480,270)
|
||||
|
||||
text ,,,,, 60
|
||||
|
||||
long i, j
|
||||
double x, y
|
||||
CFStringRef 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
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue