TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Paul Markham
from: Roy McNeill
date: 1994-04-26 21:56:48
subject: sortpkt

Hi Paul



Replying to my own msg 



 PM> You'll also need to increase the stack size, as it

 PM> allocates some large structures as local variables.



RM> Haven't struck that problem yet. Is it likely to be something that

RM> the compiler will spot?



No problem there. One of the debug options under BC4 looks for

stack overflow. And there seems to be no way to alter the stack

size for dos (non-Win) programs. The docs are no help here, took me

hours to work it out. However, turning the fattest local structure

array into a runtime memory grab with "new" fixed the stack problem

easily.



I'm afraid that what I'm doing to your lovely program in the name

of memory saving will look to you like axe murdering, however...



Sorry.....



Cheers



--- PPoint 1.80


* Origin: Silicon Heaven (3:711/934.16)
SEEN-BY: 711/934
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.