(16 Apr 11, 07:22AM)Mael Wrote:Code:a 2 b 3 alias swap [ a (* $a $b); b (/ $a $b); a (/ $a $b) ]
This will not work if a and b are both negative numbers, but you're on the right track.
Code:
a 2
b 3
alias swap [
a (+ $a $b);
b (- $a $b);
a (- $b $a)
]Fixed :)
* VenteX wants to copulate more minds. Maybe he should get started on his long-planned CubeScript based map gen- you know what, I'll let that wait.
