Hi all,
I know this is a really stupid question and I am missing something on a fundamentally basic level, but I have been looking everywhere and tried multiple different ways of doing it until I gave up and came here in the hope of someone pointing me in the right direction.
So basicly I am trying to run a loop to create multiple classes namely Subclass1, Subclass2, Subclass3 etc.
Example:
for i = 1,5
do Subclass[i] = Myclass()
end
I have also tried feeding the name of the subclass into a table, and then running the table through the loop, as well as trying to run a different loop to create the names of the sublass and then feeding those names into the creation loop.
I would really appreciate anyone helping me to understand what I am doing wrong.