for %%i in (*.dpr) do (
  dcc32 -cc %%i
)

dcc32 -cc gen.dpr
dcc32 -cc array_kk.dpr

copy *.manual *.

for /l %%i in (4,1,9) do (
  gen.exe > ..\tests\0%%i  
)

for /l %%i in (10,1,20) do (
  gen.exe > ..\tests\%%i  
)

for /l %%i in (1,1,9) do (
  array_kk.exe < ..\tests\0%%i > ..\tests\0%%i.a
)

for /l %%i in (10,1,20) do (
  array_kk.exe < ..\tests\%%i > ..\tests\%%i.a
)

del *.exe