[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do I really need to use loops on objects?



It seems odd to me that I can't treat object arrays with the same
elegance that is possible with all other array types. If I have a large
list of objects of the same type, and I want to call the same method on
each of them, do I really have to use a for loop? Wouldn't it be more
consistent with the IDL philosophy to write: object_array->method()
instead of: for i=0,10 do object_array[i]->method()

I'm just getting back into IDL after a short hiatus, and back to object
programming in particular.. is there something I've missed?

Brad