Table of Contents
How to create a DOS function ? (known also as a subroutine)
About
functions
in
dos
are:
created and named with a
label
called with the
CALL command
creating a subroutine
exited with the
goto command
Example
CALL :function arguments :function REM exit the subroutine goto :EOF
where:
arguments
are the argument of the subroutine
goto :eof
exit the subroutine