Call a function: Difference between revisions

Scala added
m (Added barebones Perl 5 entry)
(Scala added)
Line 1,591:
fb cannot be invoked as function (it does not return a value
</pre>
 
=={{header|Scala}}==
[[Category:Scala Implementations]]
{{libheader|Scala}}
[[Category:Scala examples needing attention]]
<lang Scala>myfunction() /* function with no arguments in statement context */
myfunction(6,b) // function with two arguments in statement context
stringit("apples") //function with a string argument</lang>
 
=={{header|Seed7}}==
Anonymous user