Path: utzoo!censor!geac!maccs!howard From: howard@maccs.dcss.mcmaster.ca (Howard Betel) Newsgroups: comp.lang.pascal Subject: file question? Message-ID: <25A65EFB.949@maccs.dcss.mcmaster.ca> Date: 6 Jan 90 21:11:23 GMT Reply-To: howard@maccs.dcss.mcmaster.ca (Howard Betel) Organization: McMaster University, Hamilton, Ontario Lines: 17 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