Xref: utzoo comp.sys.ibm.pc:38671 comp.lang.pascal:2724 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!gem.mps.ohio-state.edu!rpi!leah!ppd491 From: ppd491@leah.Albany.Edu (Peter P. Donohue) Newsgroups: comp.sys.ibm.pc,comp.lang.pascal Subject: Various Turbo pascal questions Keywords: Turbo pascal Message-ID: <2185@leah.Albany.Edu> Date: 23 Nov 89 14:50:28 GMT Organization: The University at Albany, Computer Services Center Lines: 24 I have a few questions pertaining to programming in Turbo Pascal 5.5 under the MS-Dos operating system. Any help with these would be appreciated. 1) In an external data file (containing all ascii data), what is the maximum length of a line allowed? 2) Is there a way to read any text that has been written to a screen? I am writing a program that uses windows (that I write with pascal, not the program) and I would like to be able to reset what was on the screen after I clear a window. 3) Is there a way to read the 'variables' (I'm not sure of the exact name for them) that are set in AUTOEXEC.BAT with the SET command? An example is with the program, Procomm, they let you set the path to the program with the command 'SET PROCOMM=path'. Can you read what procomm is set to with TP5.5 and how would you do it. Thanks for any help and have a Happy Turkey Day! Pete -- Peter P. Donohue ppd491@albny1vx.bitnet . "Education is a journey, ppd491@leah.albany.edu . not a destination..."