Anonymous user
Generic swap: Difference between revisions
m
Omit bc.
(Maybe this is a better task description, since genericity is not the only issue in writing a generic swap.) |
m (Omit bc.) |
||
Line 335:
Depending on how you look at it: this task doesn't apply, or it's trivial:
<lang factor>swap</lang>
{{omit from|Forth}}▼
=={{header|Falcon}}==
Line 1,361 ⟶ 1,359:
> foo
[20,10,40,50,30]</pre>
{{omit from|bc|No way to swap m and n[], if m is a number and n[] is an array. The variables are in different namespaces. The swap is possible with dc, not bc.}}
▲{{omit from|Forth}}
|