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 #43921 is a reply to message #43919] Tue, 03 May 2005 16:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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: Fri Oct 10 04:05:24 PDT 2025

Total time taken to generate the page: 1.03962 seconds