Zum Inhalt

.ReverseArray (.float[] Objektmethoden)

Beschreibung

Gibt den Array rückwärts zurück. Reverses the order of all elements in the float array in-place and returns the reversed array.

Argumente

Name

Typ

Beschreibung

 

-

 

Rückgabewert float

gedrehtes Array

Beispiel

Float_Array = [1.0,2.0,3.0,4.0,5.0];

Resultat = Float_Array.ReverseArray();

Resultat: [5.0,4.0,3.0,2.0,1.0]