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

Home » Public Forums » archive » calling a user-named procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
calling a user-named procedure [message #7799] Mon, 13 January 1997 00:00 Go to previous message
haskell is currently offline  haskell
Messages: 3
Registered: January 1997
Junior Member
hi,
i would like to be able to call a procedure whose name is given by the user during execution. example:

pro stuff,filename
...
call/execute, filename ;this is the line i cannot figure out
...

where filename is a string holding the name of a procedure (.pro file) input by the user e.g. from

pro junk
...
print,'input filename'
read,filename
stuff,filename ;call procedure stuff with filename as the argument
...

i have tried different syntaxes of execute and call_procedure but to no avail.
either i am just not phrasing things correctly, or i am on the wrong track.
does anyone know if this can be done, and if so, how?

thanks,
eddie
------------------------------------------------------------ ----------
When you are a Bear of Very Little Brain, and you Think of Things, you
find sometimes that a Thing which seemed very Thingish inside you is
quite different when it gets out into the open and has other people
looking at it.

- A.A. Milne, "The House At Pooh Corner"
[Message index]
 
Read Message
Read Message
Previous Topic: defsysv
Next Topic: gotcha: indexing into a scalor

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

Current Time: Wed Oct 08 15:37:59 PDT 2025

Total time taken to generate the page: 0.00383 seconds