ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


number_parsing

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
number_parsing [2017/03/21 16:09] korshunnumber_parsing [2017/03/21 16:09] korshun
Line 20: Line 20:
  
 Error statuses are: Error statuses are:
-  * PARSENUMBER_SUCCESS -- number successfully parsed, you can use the result +  * ''PARSENUMBER_SUCCESS'' -- number successfully parsed, you can use the result 
-  * PARSENUMBER_OVERFLOW -- the number is too big to fit into a variable, the result will be either [[constants:INT_MAX]] or [[constants:INT_MIN]]. +  * ''PARSENUMBER_OVERFLOW'' -- the number is too big to fit into a variable, the result will be either [[constants:INT_MAX]] or [[constants:INT_MIN]]. 
-  * PARSENUMBER_BADFORMAT - the number could not be parsed at all. You **may not** use the result. ''r2'' is unchanged.+  * ''PARSENUMBER_BADFORMAT'' - the number could not be parsed at all. You **may not** use the result. ''r2'' is unchanged.
number_parsing.txt · Last modified: 2017/03/21 16:28 by korshun