RosettaCodeData/Task/Call-a-function/00DESCRIPTION

22 lines
1,018 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
;Task:
Demonstrate the different syntax and semantics provided for calling a function.
2013-04-10 16:57:12 -07:00
2016-12-05 22:15:40 +01:00
This may include:
:*   Calling a function that requires no arguments
:*   Calling a function with a fixed number of arguments
:*   Calling a function with [[Optional parameters|optional arguments]]
:*   Calling a function with a [[Variadic function|variable number of arguments]]
:*   Calling a function with [[Named parameters|named arguments]]
:*   Using a function in statement context
:*   Using a function in [[First-class functions|first-class context]] within an expression
:*   Obtaining the return value of a function
:*   Distinguishing built-in functions and user-defined functions
:*   Distinguishing subroutines and functions
;*   Stating whether arguments are [[:Category:Parameter passing|passed]] by value or by reference
;*   Is partial application possible and how
<br>
2013-04-10 16:57:12 -07:00
This task is ''not'' about [[Function definition|defining functions]].
2016-12-05 22:15:40 +01:00
<br><bR>