Sort three variables: Difference between revisions

Content added Content deleted
(Frink)
 
Line 1,485: Line 1,485:
z = 0
z = 0


[x,y,z] = sort[[x,y,z]]</syntaxhighlight>
[x,y,z] = sort[[x,y,z]]
println["x = $x"]
println["y = $y"]
println["z = $z"]</syntaxhighlight>
{{out}}
{{out}}
<pre>
<pre>
x = -12
[-12, 0, 77444]
y = 0
z = 77444
</pre>
</pre>