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

Home » Public Forums » archive » Re: Copying (Duplicating) 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
Re: Copying (Duplicating) Objects [message #31027 is a reply to message #31026] Wed, 05 June 2002 18:08 Go to previous messageGo to previous message
btupper is currently offline  btupper
Messages: 55
Registered: January 2002
Member
On Thu, 6 Jun 2002 09:40:13 +1200, "Mark Hadfield"
<m.hadfield@niwa.co.nz> wrote:

>
>> What's the command to make b an entirely new object but identical to
>> a.
>
> There isn't one, at least not built-in. The simplest & most robust
> (though not foolproof) method of doing this is to SAVE the object to
> disk then RESTORE it.
>
Hello,

In Martin Schultz's MGS_BASEOBJECT there is a COPY method that returns
a populated object of the same class as the original; the returned new
object has its own reference id. It's pretty handy for most object
coding I deal with. It's worth a peek.

http://www.mpimet.mpg.de/~schultz.martin/idl/index.html

Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VIP, Julday
Next Topic: Re: Multiple PS-files?

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

Current Time: Wed Oct 08 19:20:34 PDT 2025

Total time taken to generate the page: 0.00435 seconds