ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:swap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

new:swap [2018/02/19 12:41]
korshun created
new:swap [2018/02/19 12:42] (current)
korshun
Line 2: Line 2:
 ''​any,​ any swap(any a, any b)''​ ''​any,​ any swap(any a, any b)''​
  
-[[new:​multiple_return_values|Returns two variables]] in reverse order. This function exists to improve readability.+[[new:​multiple_return_values|Returns two variables]] in reverse order. This function exists to improve readability ​when swapping the values of two variables.
  
 ===== Examples ===== ===== Examples =====
new/swap.txt ยท Last modified: 2018/02/19 12:42 by korshun