Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!pacbell.com!pacbell!sactoh0!bob From: bob@sactoh0.sac.ca.us (Bob F. Breedlove) Newsgroups: comp.lang.pascal Subject: Re: Problems with Pascal Program Summary: PASCAL Program Help Keywords: HELP!!!!!!!!!!!!!!!!!!!!!! Message-ID: <1991Mar8.161311.28252@sactoh0.sac.ca.us> Date: 8 Mar 91 16:13:11 GMT References: <3054@oucsace.cs.OHIOU.EDU> Organization: Sacramento Public Access Unix Lines: 18 In article <3054@oucsace.cs.OHIOU.EDU>, smash@oucsace.cs.OHIOU.EDU (Scott Mash) writes: > I am writing a program in Turbo Pascal and I have ran into a roadblock. > > The program is very large and passes a great amount of variables. A > little ways into the program it starts call procedures that are not > accessed in that part of the program and starts printing control > characters to the screen. It just goes nuts. I had to make the user > stack larger because of the number of variables it uses. > Without being able to see the program itself, it is difficult to debug it, but have you thought of recursion problems? That is a procedure or function which is calling itself and building huge amounts of data on the stack? -- Bob Breedlove SYSOP: BOBsBBS (916/929-7511) Author: CONFIG.EXE, RUN.EXE, CleanUp.EXE BATch EXecutive bob@sactoh0.SAC.CA.US