Function prototype: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
(FutureBasic entry added) |
||
Line 742: | Line 742: | ||
i As Integer |
i As Integer |
||
End Type</syntaxhighlight> |
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}}== |
=={{header|Go}}== |