If you use
controls() = GetControls("")
you will also get the ArrayList.
Attached a small program to show it.
Sorry, but I still don't understand the reason for the "inspecting at runtime".
Best regards.
Ok, the whole thing is if i can use ArrayList as a full functional dynamic array as i can find in other languages. As i can see, i can't, no problem i will find other ways to do things.
About "inspecting at runtime", is a common programming technique in dynamic languages, is called introspection.
Sometimes is useful, for example if i can retrive the names of controls i can automatically load fields from database record into textfields with the same name of db fields and at the end save back only the modified fields.
Fortunately i can do this task wit b4ppc and i really appreciated the quick and easy development cycle, but would be nice to have some more power in other fields like arrays usage and arrays as local variables.
Thanks for your help
Best regards.
Claudio