Call a function: Difference between revisions

m
m (promoted to task)
Line 102:
; Partial application is impossible.
</lang>
 
=={{header|AWK}}==
 
The awk interpreter reads the entire script prior to processing, so functions can be called from sections of code appearing before the definition.
 
<lang awk>BEGIN {
sayhello() # Call a function with no parameters in statement context
b=squareit(3) # Obtain the return value from a function with a single parameter in expressive context
}</lang>
 
=={{header|C}}==
<lang c>/* function with no argument */