I have an array of classes. For arguments sake, we will say they are:
Therefore creating 100 instances of class 'MyClass' called EachClass[x].
MyClass has function SetVal(int MyVal);
How can I call this function in all classes? I know I could use a loop, but surely there's a one line solution to this? like EachClass[all].SetVal(12345);