Re: What subprogram? What parameters and keywords? [message #85669 is a reply to message #85668] |
Mon, 26 August 2013 01:51   |
Mats Löfdahl
Messages: 263 Registered: January 2012
|
Senior Member |
|
|
Den måndagen den 26:e augusti 2013 kl. 07:17:13 UTC+2 skrev Moritz Fischer:
> Am 23.08.2013 18:10, schrieb Mats Löfdahl:
>
>> The subprograms I'm logging are actually methods. While I'm still
>> "in" the method subroutine, I can access the class data in "self".
>> With
>
>> IDL> help,/obj,self,output=out
>
>> I can get the information about it into the variable "out".
>
>> I'd like to log this as well, but I don't know how to access this
>> info from the logging subroutine that is called by the method
>> subroutine.
>
>> I thought it would work to do
>
>> IDL> help,/obj,self,output=out,level=-1
>
>> where level=-1 should go one step up. But I get this:
>
>> IDL> print,out SELF UNDEFINED = <Undefined>
>
>> Ideas?
>
> Have you tried using the NAMES keyword?
No. Well, I have now. I tried HELP='self' and HELP='*self*' without success.
(I don't really understand why it would solve my problem? From what I understand it is used to filter the information from the help command, not make it find any info that it wouldn't find otherwise. How do you propose I use it?)
|
|
|