User Tools

Site Tools


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 [2013/01/14 14:09] – external edit 127.0.0.1crpl:docs:asint [2022/07/05 14:09] (current) – Reformat Karsten75
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 asin +CurrentCoords GetCreeper asint</code> 
-t</code>  +
  
crpl/docs/asint.1358190561.txt.gz · Last modified: 2014/10/01 15:02 (external edit)