calling a user-named procedure [message #7799] |
Mon, 13 January 1997 00:00  |
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"
|
|
|