.RemoveAt (.boolean[] Objektmethode)

.RemoveAt (.boolean[] Objektmethode)

Beschreibung

Diese Funktion entfernt ein oder mehrere Elemente aus dem Array ab einer gegebenen Position.
Removes one or more boolean elements starting at Position. Returns the new array size.

Argumente

Name

Typ

Beschreibung

Name

Typ

Beschreibung

Position

integer

zero-based index of the first element to remove

Count

integer

(optional) Anzahl Elemente (default = 1)

Rückgabewert integer

Anzahl Elemente nach der Operation.

Beispiel

Text := [1,1,0,1,0,1,0,0,0,0,1,1,1];

Result = Text.RemoveAt(4,3);

Resultat: 10

Text := [1,1,0,1,0,1,0,0,0,0,1,1,1];

Result = Text.RemoveAt(4,3);

Resultat: 10