Die Attributfunktion Remove entfernt einen Index und verringert höhere Indizes um Eins.
|
Syntax | ||||
|
Remove(Index) | ||||
|
Rückgabewert | ||||
|
Kein | ||||
|
Parameter | ||||
|
Verwendung |
Name |
Typ |
Übergabe |
Beschreibung |
|
Erforderlich |
Index |
Long |
ByVal |
Der zu löschende Index |
Beispiel:
Colors.Add({"red", "blue", "green"})
Colors.Remove(1)
MsgBox(Colors.Join & " " & Colors.LowBound & " " & Colors.UpBound)
#zeigt red,green 0 1