[comp.lang.pascal] file question?

howard@maccs.dcss.mcmaster.ca (Howard Betel) (01/07/90)

I'm using Turbo Pascal 5.0 and have run into a small problem.
I have a file filled with names of procedures.  I would like
to open the file and read in the procedure names line by
line and execute them in my program.  In other words I have
a program with say 20 procedures.  I then open the file and
read in a line.  The line that I read is actually the name of
a procedure in my program.  How can I then get it to execute
that procedure.  I have temporarly solved this by using a
number of if's but that doesn't seem to be too elegant.  Any
ideas?

Thanks

-- 
Howard Betel                                    Howard@maccs.dcss.McMaster.CA
Dept of Computer Science                     ...!unet!utai!utgpu!maccs!howard
McMaster University