@echo off
set /a m=0
call :111 A B C
pause&goto :eof
:111
set /a m+=1
set /a n=m+1
set /a l=m+2
call echo %%%m% %%%n% %%%l%
goto :eof
其中的call echo %%%m% %%%n% %%%l%用setlocal enabledelayedexpansion
endlocal 启用延迟变量 如何表达?
set /a m=0
call :111 A B C
pause&goto :eof
:111
set /a m+=1
set /a n=m+1
set /a l=m+2
call echo %%%m% %%%n% %%%l%
goto :eof
其中的call echo %%%m% %%%n% %%%l%用setlocal enabledelayedexpansion
endlocal 启用延迟变量 如何表达?
