Functions Index :: A :: ArrayInvert

[<< up one level]

Module:

array :: transforms

Definition:

ArrayInvert(string array)

Description:

Inverts the indexes of the elements of array (the last element becomes first and so on) and returns the resulting array.

Examples:

a1 = ArrayCreate(AVISource(.1.), AVISource(.2.))

a1 = a1.ArrayInsert(AVISource(.3.))

a1 = a1.ArrayInsert(AVISource(.4.), 0)

# a1 now contains clips {(.4.),(.1.),(.2.),(.3.)}

a2 = a1.ArrayInvert()

# a2 now contains clips {(.3.),(.2.),(.1.),(.4.)}

 

[<< top]