ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:multiple_return_values

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
new:multiple_return_values [2018/02/17 20:44] – created korshunnew:multiple_return_values [2018/02/19 12:54] korshun
Line 9: Line 9:
     int newY = r2; // And the second one     int newY = r2; // And the second one
  
 +<note warning>
 You should retrieve the return values **as soon as possible**, or else they may get overwritten by other functions that return multiple values. You should retrieve the return values **as soon as possible**, or else they may get overwritten by other functions that return multiple values.
  
Line 26: Line 27:
 SomeOtherFunction(a); SomeOtherFunction(a);
 </code> </code>
 +</note>