Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
::assocarrays.cmd
|
||||
@echo off
|
||||
setlocal ENABLEDELAYEDEXPANSION
|
||||
set array.dog=1
|
||||
set array.cat=2
|
||||
set array.wolf=3
|
||||
set array.cow=4
|
||||
for %%i in (dog cat wolf cow) do call :showit array.%%i !array.%%i!
|
||||
set c=-27
|
||||
call :mkarray sicko flu 5 measles 6 mumps 7 bromodrosis 8
|
||||
for %%i in (flu measles mumps bromodrosis) do call :showit "sicko^&%%i" !sicko^&%%i!
|
||||
endlocal
|
||||
goto :eof
|
||||
|
||||
:mkarray
|
||||
set %1^&%2=%3
|
||||
shift /2
|
||||
shift /2
|
||||
if "%2" neq "" goto :mkarray
|
||||
goto :eof
|
||||
|
||||
:showit
|
||||
echo %1 = %2
|
||||
goto :eof
|
||||
Loading…
Add table
Add a link
Reference in a new issue