crpl:docs:asint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:asint [2019/03/03 16:55] – old revision restored (2013/01/18 01:20) Karsten75crpl:docs:asint [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
 =====  asint  ===== =====  asint  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|An item on the stack|Converted item |''n1 -- i1 ''| 
  
 +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 ===
-<code>+<code 4RPL>
 # get Creeper depth as an integer  # get Creeper depth as an integer 
 CurrentCoords GetCreeper asint</code>  CurrentCoords GetCreeper asint</code> 
  
crpl/docs/asint.1551632114.txt.gz · Last modified: 2025/02/14 14:56 (external edit)