Function definition: Difference between revisions

Content added Content deleted
m (Move FutureBasic entry out of BASIC group)
Line 1,391: Line 1,391:
=={{header|EasyLang}}==
=={{header|EasyLang}}==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
proc multiply a b . r .
func multiply a b
r = a * b
return a * b
.
.
call multiply 7 5 res
multiply 7 5
print res
</syntaxhighlight>
</syntaxhighlight>