Niladic: Difference between revisions
From NARS2000
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<code>'''<big> ∇ z{:=}dealcard<br/> | <code>'''<big> ∇ z{:=}dealcard<br/> | ||
[1] | [1] z←? 52<br/> | ||
∇ </big>'''</code> | ∇ </big>'''</code> | ||
Revision as of 20:57, 27 February 2013
A function is niladic if it does not accept any arguments. For example:
∇ z←dealcard
[1] z←? 52
∇
This function would return a random number in the range 1 - 52, but it would not accept any argument, such as would be used for dealing a card in a game.
See Also
- niladic (accepts no arguments)
- monadic (accepts one argument)
- dyadic (accepts two arguments)
- System Functions