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

Home » Public Forums » archive » ROUTINE_NAMES
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ROUTINE_NAMES [message #979] Mon, 19 April 1993 00:11 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
I notice that the IDL V3.0 User library procedures PWIDGET, GLOBEROT, and
WORLDROT call an intrinsic IDL function called ROUTINE_NAMES. I cannot
find any online or printed documentation for ROUTINE_NAMES.
I suppose that one should not depend on this routine until RSI makes it
official by documenting it, but I am intrigued by what ROUTINE_NAMES does.
Here's what I've been able to find out so far:

IDL> print, ROUTINE_NAMES()

prints the names of all compiled IDL procedures

IDL> print, ROUTINE_NAMES(/LEVEL)

appears to print 1 if the user at the main level, 2 if inside a called
procedure, etc.

In PWIDGET there is call that is something like this

IDL> print,ROUTINE_NAMES('X',FETCH=2)

and I haven't figure out what it does, or how to make an example work outside
of PWIDGET. It appears to grab a variable called X from another procedure
-- perhaps this is a fancy alternative for common blocks? Maybe somebody
out there is a better hacker than I am, and can figure this out.

--Wayne Landsman landsman@stars.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Previous Topic: routine_names
Next Topic: Internet for free worldwide+

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

Current Time: Thu Oct 09 08:07:07 PDT 2025

Total time taken to generate the page: 1.92032 seconds