Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Call-a-function/Phixmonti/call-a-function.phixmonti
Normal file
10
Task/Call-a-function/Phixmonti/call-a-function.phixmonti
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/# Phixmonti does not distinguish between subroutines and functions.
|
||||
Each word (as they are called), takes its arguments (if any) from the data stack. #/
|
||||
|
||||
def saludo
|
||||
"Hola mundo" print nl
|
||||
enddef
|
||||
|
||||
saludo /# 'saludo' is a user-defined word. #/
|
||||
|
||||
2 3 + print /# The '+' sign and 'print' are intrinsic words. The return value is deposited on the data stack #/
|
||||
Loading…
Add table
Add a link
Reference in a new issue