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

RM> Replying to my own msg 



Somethimes it's the only way to get an intelligent response :-)



 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?



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

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

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

 RM> hours to work it out.



Under BC31 you can change the stack size by setting the global variable
_stklen. Presumably it's the same for BC4. It's documented in the back of
the library reference manual, under global variables.



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

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



I don't think I want to see the results :-(



 RM> Sorry.....



No problem. What ever it takes to get it to work.





Paul



--- GoldED/2 2.42.G1114

* Origin: Stupidity rampant on a field of sable (3:711/934.1)
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™.