This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:asint [2019/03/03 16:55] – old revision restored (2013/01/18 01:20) Karsten75 | crpl:docs:asint [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <- [[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</ | ||