It is know that accessing a field of structure is by using the dot method. Such as, accessing the first field of the below structure is Point.x. However, I would like to access the fields by using a index number accompanied to the name of structure (i.e. as in matrix).
For example instead of using Point.x, I need to use something like Point(1) or Point[1]. Any way to do so?