This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:asint [2013/01/18 06:20] – grauniad | 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 | + | CurrentCoords GetCreeper |
- | t</ | + | |