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

Home » Public Forums » archive » Adding flexibility at run time question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Adding flexibility at run time question [message #43923] Tue, 03 May 2005 16:13
Marc Reinig is currently offline  Marc Reinig
Messages: 30
Registered: June 2004
Member
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?

Marco
________________________
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: wrong results...
Next Topic: Looping over parameters without EXECUTE()

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

Current Time: Wed Oct 08 13:33:01 PDT 2025

Total time taken to generate the page: 0.00514 seconds