Arrays

An array variable is used to store multiple values in a single variable. The simplest of these is with just a single element. So, if you were to declare this array, and it had 50 members, it would be something like this:

Image

The number in the parentheses is 49 intentionally. It is not because I am ignoring Alaska. We start counting at zero, so this array contains 50 values, and is fixed. You assign data to each of the elements of the array like this:

Image

The concept of an array can be difficult to envision (especially for accountants), so I ...

Get Oracle Hyperion Financial Management Tips And Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.