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
Next revision
Previous revision
Last revisionBoth sides next revision
crpl:docs:call [2013/01/17 19:56] grauniadcrpl:docs:call [2022/06/25 13:15] – Reformat Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]]
  
 =====  @FUNC_NAME  ===== =====  @FUNC_NAME  =====
  
-^Arguments^Result^Notation^ +===== Syntax =====
-| | |''(user defined) ''|+
  
 +@FUNCTIONNAME
  
-=== Description === +===== Description ===== 
-Invokes a function.  + 
-Execution passes to the function that is named and returns to the statement  +Invokes a function named **FUNCTIONNAME**. Execution passes to said function and returns to the statement  
-after the call when the function is complete.  +after the call when the function is complete. Arguments can be passed to and received from functions via the stack.
-Arguments can be passed to and received from functions via the stack.+
 === Examples === === Examples ===
-<code>+ 
 +<code 4RPL>
 # invoke the function defined as an example at :FUNC_NAME  # invoke the function defined as an example at :FUNC_NAME 
 # with the value "35" to get a 35% chance of making  # with the value "35" to get a 35% chance of making 
Line 22: Line 22:
  endif  endif
 </code>  </code> 
- 
  
crpl/docs/call.txt · Last modified: 2022/06/25 13:17 by Karsten75