[net.micro.pc] Large Pascal programs

rich@uofm-cv.UUCP (Richard M. Jungclas) (02/16/84)

   We are developing a large application written in PASCAL for
the PC and seem to have filled the default data segment. According
to the Microsoft  documentation there are few things that can be
done like  placing certain kinds of data outside the default data
segment using ADS variables, VARS and CONSTS parameters and
segmented ORIGIN variables in order to minimize the problem.
   Does anyone out on net land have large (PASCAL) programs that
have found a better way around this? What about the exact runtime
strategy?  Microsoft's runtime details are bit sketchy. More
specially I like to know how storage from the heap is allocated
(ie really in the stack) and exactly how dynamic variables are
allocated.
   One observation is that stack and heap sizes are incredibly big
for the underlying code. Any ideas?