User Tools

Site Tools


crpl:docs:call

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
crpl:docs:call [2022/06/25 13:15] – Reformat Karsten75crpl:docs:call [2022/06/25 13:17] (current) – Better example Karsten75
Line 14: Line 14:
 === Examples === === Examples ===
  
-<code 4RPL+<code 4rpl
-invoke the function defined as an example at :FUNC_NAME  +3 4 @MyMathFunction Trace  will print 9 to the stack (3 * 4 - 3) 
-with the value "35" to get a 35% chance of making  + 
-rapid (speed 100) move.  +:MyMathFunction 
-35 @chance if  +   ->b ->        read 2 items from the stack 
- 100 @relocate #Move quickly  +   <-<-b * <-a - multiply both and subtract the first
- endif+
 </code>  </code> 
  
crpl/docs/call.txt · Last modified: 2022/06/25 13:17 by Karsten75