#cs =====================================================================================================================================================================
	=========================================================================================================================================================================

	AutoIt Version: 			 3.3.8.1
	ScriptVerion:				 0.0.1a
	Author:         			 El_Cojón
	Date(yyyy/mm/dd):			 2014/04/20
	LastEdit:					 2014/04/20 - 19:00
	Language:					 German
	Contact:					 http://www.autoit.de/index.php?page=User&userID=212572

	Fixed Includes:			 	 -Nothing-
	Secial Includes:			 -Nothing-
	Requires rights:			 SimpleUser
	#RequireAdmin:				 No

	Secure / Quick:			 	 Secure

	Exception handling:		 	 partly

	Script Function:
	#=====================================================================================================================
	#	Developed around:		 	 Example, http://www.autoit.de/index.php?page=Thread&threadID=45103
	#=====================================================================================================================
	#	Template AutoIt script.
	#
	#
	#
	#
	#
	#
	#
	#######################################################################################################################

	Known Bugs:				 	 No

	Important2say:				 -Nothing-
	SpecSyntax:					 No

	UsedSource:					-Nothing-

	Level:						Easy-Easy-Easy

	Infos:						-Nothing-

	=========================================================================================================================================================================
#ce =====================================================================================================================================================================

#include-once

#region ================================================================================================================================================
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Fileversion=0.0.1a
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_Language=1031
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=y
#AutoIt3Wrapper_Run_Tidy=y
#endregion =============================================================================================================================================



#include <array.au3>


Local $aTest[6][2] = [["127.0.0.1", "Lokales System"],["127.0.0.1", "localhost"],["10.0.0.1", "Gateway"],["10.123.200.254", "Router_1"],["192.168.10.1", "DMZ denkt euch was aus :D"],["10.123.200.254", "Router1"]]

#cs ====Tabelle sieht etwa so aus:====================================================

	##########################################################
	## 127.0.0.1 ___________# Lokales System _______________##
	## 127.0.0.1 ___________# localhost ____________________##
	## 10.0.0.1 ____________# Gateway ______________________##
	## 10.123.200.254 ______# Router_1 _____________________##
	## 192.168.10.1 ________# DMZ denkt euch was aus :D ____##
	## 10.123.200.254 ______# Router1 ______________________##
	##########################################################

#ce ==================================================================================


__clearList($aTest)

Func __clearList($aTemp, $iStartIndex = Default)
	If $iStartIndex == Default Then $iStartIndex = 0
	_ArraySort($aTemp)

	Local $aTempCleaned_RAW[1] = ["IPs"]

	For $i = $iStartIndex To UBound($aTemp, 1) - 1
		; führ den block für jede IP-Adr. in der Liste ($aTemp) aus.

		$iSearchResult = _ArrayBinarySearch($aTempCleaned_RAW, $aTemp[$i][0])
		; überprüft ob der Momentane Eintrag ($aTemp[$i][0], 0=Ip, 1=Info) schon in der neuen Liste ($aTempCleaned_RAW) vorhanden ist.


;~ 	_ArrayDisplay ($aTempCleaned_RAW,"$aTempCleaned_RAW") ; nur zum test ob es echt so logisch daneben läuft ^^


		If $iSearchResult == (-1) Then _ArrayAdd($aTempCleaned_RAW, $aTemp[$i][0])
		; Beim Fehler auf -1 und @error - Wenn FEHLER dann Nicht Vorhanden =>> also eintrag hinzufügen.

	Next
	; schließt bekanntlich den block

EndFunc   ;==>__clearList
