Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!munnari.oz.au!manuel!coombs!cjp310 From: cjp310@coombs.anu.edu.au (Chris @ SSDA ...) Newsgroups: comp.sys.mac.programmer Subject: Re: Trivial Think Pascal I/O question Message-ID: Date: 13 Apr 91 12:30:42 GMT References: <1991Apr13.080239.1@csc.anu.edu.au> Sender: news@newshost.anu.edu.au Organization: Computer Services Centre, Australian National University Lines: 29 inm501@csc.anu.edu.au writes: > 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 Ida, Its all in the manual :-) - you know the one you get when you buy it... Chris -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Chris Patterson | Ph: +61 6 2492185 Social Science Data Archives | AARNet: Chris@coombs.anu.edu.oz Australian National University | "I wonder what happens if I ..."