Call a function: Difference between revisions
Added EasyLang implementation
m (→{{header|FutureBasic}}: Minor edits to descriptions) |
Jazzedpineda (talk | contribs) (Added EasyLang implementation) |
||
Line 1,805:
# a function's arity is a property of its behavior and not
# of its definition</syntaxhighlight>
=={{header|EasyLang}}==
EasyLang distinguishes between subroutines and functions.
<syntaxhighlight lang="easylang">call subroutine # call a subroutine
call function1 result # call a function with no arguments, with return value
call function2 arg1 arg2 # call a function with arguments, no return value
call function3 arg1 arg2 result # call a function with arguments and return value</syntaxhighlight>
=={{header|Ecstasy}}==
|