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

Home » Public Forums » archive » Re: objects in loop
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: objects in loop [message #23558 is a reply to message #23557] Wed, 31 January 2001 05:15 Go to previous message
shearerm is currently offline  shearerm
Messages: 11
Registered: July 1999
Junior Member
Firstly apologies for the multiple posting of same question.

Secondly I have tried to solve my problem using container objects so I
now have.

Instruments = OBJ_NEW('IDL_Container')
for p=0,a do begin
ip = OBJ_NEW('orb',pos=[x(p), y(p), z(p)])
model -> ADD, ip
Instruments -> Add, ip
endfor

When I have finished with the objects I destroy the "instruments"
container object. Is this a correct way of doing things? It does seem
to work.


Sent via Deja.com
http://www.deja.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fontifying large buffers in idlwave?
Next Topic: Re: Fontifying large buffers in idlwave?

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

Current Time: Sat Oct 11 10:25:55 PDT 2025

Total time taken to generate the page: 1.27850 seconds