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

Home » Public Forums » archive » Re: Adding flexibility at run time question
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: Adding flexibility at run time question [message #43919] Tue, 03 May 2005 16:47 Go to previous message
Marc Reinig is currently offline  Marc Reinig
Messages: 30
Registered: June 2004
Member
Ah! Wonderful! ;=)

So many neat things!

Marco
________________________
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics

"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1ce1b7522325e01f9899e9@news.frii.com...
> Marc Reinig writes:
>
>> I would like to be able to select a particular procedure to run at run
>> time
>> rather than at design time.
>>
>> One thought would like my program to look in a particular directory and
>> select a procedure name, which will be a concatenation of the name any
>> .pro
>> file it finds there and a standard suffix and run it.
>>
>> I.e. if there were three files in the directory: a.pro, b.pro, and c.pro,
>> it
>> would know that there would be a procedure named a-xxx, b-xxx, and c-xxx
>> in
>> the files respectively which my program could call. But how would I have
>> it
>> call the procedure based on the name of a file.
>>
>> Doing this at compile time would also be acceptable, but I still haven't
>> figured out how to call a procedure whose name I don't type in but create
>> on
>> the fly.
>>
>> Any guidance on how I would do this?
>
> I guess I'd try CALL_PROCEDURE. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Looping over parameters without EXECUTE()
Next Topic: Re: Program architecture question

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

Current Time: Wed Oct 08 18:10:21 PDT 2025

Total time taken to generate the page: 0.00642 seconds