I've recently took up a project to learn scripting in batch on Windows.
I want to write a code that allows me to create an array that I can print, add to and remove from.
In my head I see it something like:
set List = [Bob, Adam, Steve] ::Creates an array
echo What is your name?
set /p name=
list.add(List + name) ::Adds name to list
echo Hello List[3] ::Prints the 4th name in array
echo My name is List[0] ::Prints the 1st name in array
That is just a rough sketch, I know it will not work but am I on the right lines? If so what needs to be changing?