Just to let everyone know that I'm moving to a new house at the moment. Well, not actually new, but a beautiful old house built in the 1940s. In a lovely small country town. So a complete change of life for us
.
I'll be unavailable for a couple of weeks until I get everything PC related set up at the new location. I'm typing this on my smartphone, which is a real pain. So my priority will be with getting back online a.s.a.p. That may not necessarily be my wife's priority however
.
I would like to congratulate SamuraiCrow on his magnificent and detailed responses in the thread on using AMOS banks to implement arrays of complex data types. His patience seemed inexhaustible
.
To throw another log onto that particular problem, consider:
Use a two-dimensional array to hold the addresses of each element of the data type in the bank. So the bank is allocated to a size large enough to hold all the elements. Then the array is initialised by iterating through it putting addresses into each of its elements, simply adding the data type's length each time. Probably haven't explained that too well. The result is that you then reference an element's address using familiar (x,y) notation. Then reference the data type's elements using offsets.
I did mention this is being typed on my phone, so if the above makes no sense, I'll do an example in a couple of weeks when I get my PC back