Lade...
 

Revert

Revert

Revert

Stack
Stack Position Beschreibung
Stack(In) Top ein Vektor
Stack(Out) Top Vektor mit umgekehrter Reihenfolge der Elemente

kehrt die Reihenfolge der Elemente des Vektors auf dem Stack um:

[ a b c ] -> [ c b a ]
Achtung: Ist der Vektor in einer Variable gespeichert, weist von nun an auch die Variable auf den umgekehrten Vektor!
/ Define the vector Var(vector) [ 1 2 3 ] -> vector // Get the first element of the vector 0 vector GetElement // You will get the 1 (the first inserted object) // Turn around the vector and drop the result from the stack vector Revert Drop // Get the first element of the vector again 0 vector GetElement // You will get the 3 (the last inserted object)