anchor.diff:  IF NOT "!TARGET_COMPILER_VERSION!" == "" (
     IF !TARGET_COMPILER_VERSION_FOUND! EQU !FALSE! (
       ECHO Could Not Detect Compiler: !TARGET_COMPILER_VERSION! is not installed
  +  ) ELSE (
  +    REM Assign the user choice automatically
  +    CALL :GETARRAYELEMENTINDEX AVAILABLE_VISUAL_STUDIO_VERSIONS USER_CHOICE_INDEX USER_CHOICE_ENTRY
     )
   )
   
  
positive.code:     IF %%A EQU !TARGET_COMPILER_VERSION! (
        REM Indicate the compiler was found and set the user choice
        SET TARGET_COMPILER_VERSION_FOUND=!TRUE!
        SET USER_CHOICE_ENTRY=!INDEX!
      )
    )
  
    SET /A INDEX+=1
  )
  SET "AVAILABLE_VISUAL_STUDIO_VERSIONS=!AVAILABLE_VISUAL_STUDIO_VERSIONS:~1!"
  
  REM Find all available versions of legacy Visual Studio
  FOR /F "TOKENS=1,2 DELIMS==" %%A IN ('SET VS') DO (
  
negative.code: REM Get an element from an array
  REM
  REM @param array Global array to iterate through
  REM @param element Element in global array to find
  REM @param return Index of element in global array
  :GETARRAYELEMENTINDEX [array] [element] [return]
    SET ELEMENT_INDEX=0
    FOR %%A IN (!%~1!) DO (
      SET /A ELEMENT_INDEX+=1
      IF "%%A" == "!%~2!" (
        SET %~3=!ELEMENT_INDEX!
      )
    )
    EXIT /B
  
  REM Get an element from an array
  REM
  REM @param array Global array to iterate through
  REM @param index Index to retrieve
  REM @param return Variable to assign retrieved value
  :GETARRAYELEMENT [array] [index] [return]
  