We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de73769 commit d225c81Copy full SHA for d225c81
Source/libgen.bat
@@ -6,12 +6,8 @@ exit /b 0
6
:array_qsort
7
(
8
echo set /a l=%%~2, h=%%~3, a=^^!h^^!-^^!l^^!+1, top=-1
9
-echo set ind=0
10
-echo :loop
11
-echo set stack[^^!ind^^!]=0
12
-echo if ^^!ind^^! GEQ ^^!a^^! goto end
13
-echo set /a ind+=1
14
-echo goto loop
+echo for /l %%%%i in (0 1^) do (set stack[%%%%i]=0
+echo if %%%%i GEQ ^^!a^^! goto end^)
15
echo :end
16
echo set /a top+=1
17
echo set stack[^^!top^^!]=^^!l^^!
0 commit comments