
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard]-158.92 @Line:7@echo off&setlocal EnableDelayedExpansion
Set n=0
for /f "tokens=3,4 delims=. " %%i in (T.txt) do (
Set testData_!n!=%%i%%j
Set /a n+=1
)
Set /a n-=1
for /l %%j in (1,1,%n%) do (
Set /a i = %%j - 1
Set /a k = %%j + 1
call :MAXIN3 %%testData_!i!%% !testData_%%j! %%testData_!k!%% %%j
)
pause
:MAXIN3
if %2 GEQ %1 (
if %2 GEQ %3 (
Set /a OutNum=%2
echo !OutNum:~0,-2!.!OutNum:~-2,2! @ Line:%4
)
)
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |