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

Home » Public Forums » archive » Who's up for breaking IDL?
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: Who's up for breaking IDL? [message #36005 is a reply to message #35824] Mon, 04 August 2003 09:38 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
R.G. Stockwell writes:

> However, I think the example shown by the original poster, which
> used a literal string of the correct case, should have worked, and
> the fact that it didn't is a bug.
>
> IDL> resolve_routine, 'Resolve_Me'
> % Attempt to call undefined procedure/function: 'RESOLVE_ME'.
> % Execution halted at: $MAIN$
>
> It seems like IDL took a string constant 'Resolve_Me' and changed
> it to a different string constant 'RESOLVE_ME'.

Bob, I think maybe you are missing the intention
of the RESOLVE_ALL and it companion RESOLVE_ROUTINE
(which appears to do all the work. I'm reminded of
Don Quiote and his faithful servant Sancho). These
were designed so the user could *automatically* resolve
all the unresolved references in a piece of code
so you could create a save file.

I think the designers figured that anybody who
simply wanted to *compile* a routine would probably
use the aptly named COMPILE command to do so. (Or,
the completely misnamed RUN command, but that's
another story.) I am 100% sure (although I have
no case sensitive operating system here to check)
that the .Compile command would work in the manner
the user expected from the RESOVE_ROUTINE command. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Who's up for breaking IDL?
Next Topic: Importing data to iTool Data manager from the command line

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

Current Time: Wed Oct 08 17:36:40 PDT 2025

Total time taken to generate the page: 0.00557 seconds