RosettaCodeData/Task/Function-definition/Batch-File/function-definition.bat
2023-07-01 13:44:08 -04: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