This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
number_parsing [2017/03/21 16:07] – korshun | number_parsing [2017/03/21 16:19] – korshun | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Simple functions ===== | ===== Simple functions ===== | ||
- | These simply return 0 on error: | + | These simply return 0 on error, b: |
* [[functions: | * [[functions: | ||
* [[functions: | * [[functions: | ||
+ | |||
+ | ==== Examples ==== | ||
< | < | ||
Line 19: | Line 21: | ||
* [[functions: | * [[functions: | ||
+ | Error statuses are: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== Examples ==== | ||
+ | < | ||
+ | ParseInt(" | ||
+ | r1 -> PARSENUMBER_SUCCESS | ||
+ | r2 -> 123 | ||
+ | |||
+ | ParseInt(" | ||
+ | r1 -> PARSENUMBER_SUCCESS | ||
+ | r2 -> 8 | ||
+ | ParseInt(" |