RosettaCodeData/Task/Function-definition/Batch-File/function-definition.bat
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

11 lines
130 B
Batchfile

@ECHO OFF
SET /A result = 0
CALL :multiply 2 3
ECHO %result%
GOTO :eof
:multiply
SET /A result = %1 * %2
GOTO :eof
:eof