Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!munnari.oz.au!manuel!csc.anu.edu.au!inm501 From: inm501@csc.anu.edu.au Newsgroups: comp.sys.mac.programmer Subject: Trivial Think Pascal I/O question Message-ID: <1991Apr13.080239.1@csc.anu.edu.au> Date: 12 Apr 91 21:02:39 GMT Sender: news@newshost.anu.edu.au Organization: Computer Services, Australian National University Lines: 16 Can someone give me a hand? I am not familiar with Pascal and Macintosh I/O system. Someone gave me a Pascal program running on Sun4 so that I can get it to run on the Mac. This program is supposed to read a text file something to it and write it out again. I compiled the program with Think Pascal without any problem. I saved it as an application. When I run it, it is expecting interactive input from the terminal. How do I get it to read input and output file name interactively? I don't want any window or anything. At the top of the original program it has "Program program_name(input, output)". Does it mean the default names are input and output? Do I have to get rid of them? Sorry about asking such trivial questions ... Thanks anyway. Ida