Function prototype: Difference between revisions

FutureBasic entry added
m (→‎{{header|Wren}}: Changed to Wren S/H)
(FutureBasic entry added)
 
Line 742:
i As Integer
End Type</syntaxhighlight>
 
=={{header|FutureBasic}}==
A function prototype must appear above any calls to the function.
<syntaxhighlight lang="futurebasic">
def fn NoArgs
def fn TwoArgs( a as long, b as long )
def fn VarArgs( n as long, ... )
</syntaxhighlight>
 
=={{header|Go}}==
416

edits