This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:asint [2013/03/02 14:55] – [asint] spelling thepenguin | crpl:docs:asint [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| <- [[crpl: | <- [[crpl: | ||
| ===== asint ===== | ===== asint ===== | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | |An item on the stack|Converted item |'' | ||
| + | asint | ||
| === Description === | === Description === | ||
| Converts an item on the stack to an integer, and pushes it back to the stack. | Converts an item on the stack to an integer, and pushes it back to the stack. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| # get Creeper depth as an integer | # get Creeper depth as an integer | ||
| - | CurrentCoords GetCreeper asint | + | CurrentCoords GetCreeper asint</ |
| - | t</ | + | |