Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
set x to "lions, tigers, and"
|
||||
set y to "bears, oh my!"
|
||||
set z to "(from the \"Wizard of OZ\")"
|
||||
|
||||
if (x > y) then set {x, y} to {y, x}
|
||||
if (y > z) then
|
||||
set {y, z} to {z, y}
|
||||
if (x > y) then set {x, y} to {y, x}
|
||||
end if
|
||||
|
||||
return {x, y, z}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
set x to 77444
|
||||
set y to -12
|
||||
set z to 0
|
||||
|
||||
if (x > y) then set {x, y} to {y, x}
|
||||
if (y > z) then
|
||||
set {y, z} to {z, y}
|
||||
if (x > y) then set {x, y} to {y, x}
|
||||
end if
|
||||
|
||||
return {x, y, z}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
set x to "lions, tigers, and"
|
||||
set y to "bears, oh my!"
|
||||
set z to "(from the \"Wizard of OZ\")"
|
||||
|
||||
tell x
|
||||
if (it > y) then
|
||||
set x to y
|
||||
set y to it
|
||||
end if
|
||||
end tell
|
||||
tell z
|
||||
if (it < y) then
|
||||
set z to y
|
||||
if (it < x) then
|
||||
set y to x
|
||||
set x to it
|
||||
else
|
||||
set y to it
|
||||
end if
|
||||
end if
|
||||
end tell
|
||||
|
||||
return {x, y, z}
|
||||
Loading…
Add table
Add a link
Reference in a new issue