Привет, я пытаюсь добавить массив, но мой код неверен.
@echo off
setlocal enabledelayedexpansion
set /p filas=ingrese el numero de filas:
set /p columnas=ingrese el numero de columnas:
for /l %%i in (0,1,%filas%) do (
for /l %%j in (0,1,%columnas%) do (
set array[%%i,%%j]=!random!
set array2[%%i,%%j]=!random!
)
)
set array array2
pause
echo addition
for /l %%i in (0,1,%filas%) do (
for /l %%j in (0,1,%columnas%) do (
set /a arreglo[%%i,%%j]= !array[%%i,%%j]!+!array2[%%i,%%j]!
)
)
set arrreglo
pause
exit