H (Hybrid) Language - v0.03, by Dr. Herong Yang
x[i] - Array Element Format for array.get()
This section describes the array element format x[i] for the array.get() function.
The array.get() function can be expressed in array element format, [i].
Examples of how to use array element format [i] as array.get() function:
[1, "Two", 3][1]; # Returns "Two" y = array([1, "Two", 3]); y[1]; # Returns "Two" y[3]; # Gets the "IndexOutOfBound" error.
Table of Contents
array.get() - Retrieve Element from Array
►x[i] - Array Element Format for array.get()
array.set() - Update Element of Array
x[i] - Array Element Format for array.set()
array.subArray() - Sub-Array Function
Inheritance - Object Attachments