comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » do I really need to use loops on objects?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
do I really need to use loops on objects? [message #18095] Tue, 30 November 1999 00:00 Go to previous message
Brad Gom is currently offline  Brad Gom
Messages: 49
Registered: August 1997
Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wrong Slice order
Next Topic: Re: Help needed with reading ASCII data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:26:49 PDT 2025

Total time taken to generate the page: 0.71989 seconds