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

Home » Public Forums » archive » Re: _extra and call_method
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: _extra and call_method [message #42339 is a reply to message #42338] Mon, 31 January 2005 05:13 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
David Fanning wrote:
> Benjamin Hornberger writes:
>
>
>> Any more hints, except defining a dummy keyword for each method?
>
>
> I pretty much make _Extra a feature of every procedure or
> function definition statement I write. It never hurts, and
> sometimes helps. :-)
>
> Similarly, I've gotten in the habit of returning
> the dummy structure as an output argument for every
> object I create. That *really* comes in handy!
>
> PRO myobject__define, class
> class = {MYCLASS, myvar:0}
> END
>

Hi,

I'm running on just one cup of coffee this morning so maybe this is a fuzzy
question: could you explain the circumstances in which this is useful? If you
return dummy named structure - well, what about all the work that goes into
populating its properties it via the INIT function? Or is this for simple data
structures (ala widget event structures, etc. ?)

Thanks,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Aggregating an array
Next Topic: Color behavior when using TEXTURE MAP

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

Current Time: Sat Nov 29 04:48:19 PST 2025

Total time taken to generate the page: 0.95876 seconds