Maptitude GISDK Help

ReverseArray()

Summary

Returns a new array, with the same elements as the input array, but in the reverse order.

 

Changes

Added to Version 2013.

 

Syntax

new_array = ReverseArray(array my_array)

 

Argument

Contents

my_array

The array to be sorted

 

 

Returns

An array containing the elements of my_array in the reverse order.

 

Example

new1 = ReverseArray({1,null,"3",{4,5}})

// new1 = {{4,5},"3",null,1}

 

 

See Also

Function

Summary

CompareArrays()

Compares two arrays, element by element

CopyArray()

Makes a copy of the array, including nested sub-arrays, to any depth

SortArray()

Sorts the elements of an array

 

 

©2025 Caliper Corporation www.caliper.com