Re: Returning values within _EXTRA. [message #12487 is a reply to message #12486] |
Thu, 13 August 1998 00:00   |
Vap User
Messages: 31 Registered: April 1998
|
Member |
|
|
Imanol Echave <ccaeccai@sc.ehu.es> writes:
Dave Fanning may already have answered this question. If so, forgive.
Look at the _REF_EXTRA keyword. See 'Keyword Inheritance' in the
online help. Not having used it, I'm not completely sure it will fit
the bill. The online help makes mention of the unavailability of the
*values* of the keyword parameters to the called routine when using
_ref_extra.
How can one return anything from the cleanup routine of an object?
>
> Hi people:
> When you use a keyword parameter on a program, it's possible to change the
> value of the keyword (if it's a named value), OK. But, I want to do the same
> using the _EXTRA keyword, and it doesn't work (because a tag of a structure is
> passed by value, I think). Anybody knows how to do it?
>
> An example: I'm creating a class, and on the CLEANUP method I want to return
> the object properties values on keywords, so I call the GETPROPERTY method
> within the CLEANUP method. I tried this:
>
> PRO ...::Cleanup,_EXTRA=extra
>
> self->GetProperty,_EXTRA=extra
> ...
> END
>
> But it doesn't work. Any advice?
--
I don't speak for JPL, it doesn't speak for me.
Well, not all the time, at least.
William Daffer <vapuser@haifung.jpl.nasa.gov>
|
|
|