This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:asint [2013/01/14 19:04] – created virgilw | crpl:docs:asint [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | <- [[crpl: |
+ | ===== asint ===== | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | |||
+ | asint | ||
+ | |||
+ | === Description === | ||
+ | Converts an item on the stack to an integer, and pushes it back to the stack. | ||
+ | === Examples === | ||
+ | <code 4RPL> | ||
+ | # get Creeper depth as an integer | ||
+ | CurrentCoords GetCreeper asint</ |