Call a function: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 2,191: | Line 2,191: | ||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
· Calling a function that requires no arguments |
|||
Is supported. |
|||
· Calling a function with a fixed number of arguments |
|||
Is supported. |
|||
· Calling a function with optional arguments |
|||
Not supported in EMal. |
|||
· Calling a function with a variable number of arguments |
|||
Variadic functions are supported. |
|||
· Calling a function with named arguments |
|||
Not supported in EMal. |
|||
· Using a function in statement context |
|||
Is supported. |
|||
· Using a function in first-class context within an expression |
|||
Functions are first class, can be passed as arguments and returned. |
|||
100.14 |
|||
· Obtaining the return value of a function |
|||
Is supported. |
|||
97 |
|||
· Distinguishing built-in functions and user-defined functions |
|||
No distinction. |
|||
· Distinguishing subroutines and functions |
|||
No distinction, we support void return type. |
|||
· Stating whether arguments are passed by value or by reference |
|||
Pass by value, but text, blob, objects hold a reference. |
|||
· Is partial application possible and how |
|||
Is supported. |
|||
12 |
|||
12 |
|||
12 |
|||
</pre> |
</pre> |
||