Structure

I have a structure with quite some elements. At a certain point I have to change the content of some of the elements. Is there a way to iterate through the elements?

What do you mean with “structure”? GUI elements? You can iterate through almost everything but I have no clue what exactly you want to do.

http://documentation.xojo.com/index.php/Introspection may be what you are looking for, though I’m not sure if it allows one to get information about the properties of a Structure or not.

If the elements you need to iterate are of the same size, you can convert it to a MemoryBlock and cycle through it that way.

You can’t use introspection on a structure, only classes or objects.