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

Home » Public Forums » archive » Re: Resolving Built-ins and FORWARD_FUNCTION
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: Resolving Built-ins and FORWARD_FUNCTION [message #37358 is a reply to message #37336] Mon, 08 December 2003 22:15 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
JD Smith <jdsmith@as.arizona.edu> writes:


> Sent to RSI:
>
> ============================================================ ===============
> Using FORWARD_FUNCTION creates an unresolved stub in the routine list,
> even for built-in routines. E.g., in the NasaLib WRITEFITS you find :
...
> IDL could either check for built-in's being used in FORWARD_FUNCTION, or
> RESOLVE_ROUTINE could do the same, or FORWARD_FUNCTION functions could
> be removed from the list once they are encountered in the file. Since
> you can't override a built-in command (like FILE_SEARCH) with any amount
> of !PATH fiddling, it makes sense not to put built-ins on the unresolved
> list via FORWARD_FUNCTION.
> ============================================================ ===============

Yes, these seems like a totally legit complaint. I don't think this
problem showed up before IDL 6.0, did it? Or else, why did nobody
complain before now?


> Also, does anyone know what a SAV file run in the IDLVM does with a
> statement like:
>
> source=routine_info('MyPro',/SOURCE)
>
> I use these types of constructs to locate data bundled with my source
> distribution, and I want it to work with the IDLVM too. Since the VM
> technically doesn't do any compiling of files, I presume it might not
> do any path searching for file source either, in which case I'd have
> to come up with something different.

Why not try it yourself? I found that the "source" it reported was
the path of the .sav file.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Porting to VM
Next Topic: Re: Do I need a DLM Wrapper for this?

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

Current Time: Fri Oct 10 12:41:33 PDT 2025

Total time taken to generate the page: 1.59812 seconds