NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)

The reverse() function returns a sequence in reverse order. For example, «reverse(1 to 5) » returns the sequence «5, 4, 3, 2 1 » .

Argument

Data Type

Meaning

sequence

item()*

The input sequence

Result

item()*

A sequence containing the same items as the input sequence, but in reverse order

Категории