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

Home » Public Forums » archive » Re: IDL variables
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: IDL variables [message #36035 is a reply to message #36031] Fri, 08 August 2003 08:44 Go to previous messageGo to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.199c9065ec03b7739896d0@news.frii.com>...
> Denis Barkats writes:
>
>> I am new to this newsgroup posting thingy.
>> I would like to know if there is a way to get IDL to just print the
>> variables in its memory without having to also print all the used
>> functions and procdures. I 've tried typing : help but that always
>> returns a lot of other things.
>
> OK, here is a routine that does this, but it is
> totally illegal, bogus, etc., and you didn't get
> it from me. :-(
>
> You will need my UNDEFINE program to make it work
> elegantly. If you don't need elegance, just delete
> that line.
>
> ;****************************************************
> PRO Help_Var
>
> ; Just print out the damn variables!
>
> names = ROUTINE_NAMES(Variables=1)
>
> FOR j=0, N_Elements(names) - 1 DO BEGIN
> IF N_Elements(ROUTINE_NAMES(names[j], FETCH=1)) GT 0 THEN BEGIN
> value = ROUTINE_NAMES(names[j], FETCH=1)
> HELP, value, Output=s
> UnDefine, value
> Print, StrUpCase(names[j]) + StrMid(s, 6)
> ENDIF
> ENDFOR
>
> END
> ;****************************************************
>

etc ...

Hmmm,

What is ROUTINE_NAMES? I could not find it documented in IDL6, nor on
the Fanning web site. Could it be an undocumented routine?

Thanks,

Mirko
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Tool to convert IDL to C++ ??
Next Topic: Error Handling - Emailing

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

Current Time: Sat Oct 11 04:02:12 PDT 2025

Total time taken to generate the page: 0.48101 seconds