Anonymous user
Function definition: Difference between revisions
no edit summary
No edit summary |
|||
Line 112:
multiply = a * b
END FUNCTION</lang>
=={{header|Batch File}}==
<lang>@ECHO OFF
SET /A result = 0
CALL :multiply 2 3
ECHO %result%
GOTO :eof
:multiply
SET /A result = %1 * %2
GOTO :eof
:eof</lang>
=={{header|BBC BASIC}}==
|