Technical Notes Database
TN912D.txt COMPILING VERSION 2.0 CODE WITH THE VERSION 4.0+ C
Category :Pascal
Platform :All
Product :Turbo Pascal 2.0+
Description:
Q. Why do I get a stack overflow when compiling code with Turbo
Pascal 4.0+ but not with version 2.0?
A. Version 2.0 does not indicate a stack overflow error. Version
2.0 has a 64k stack size whereas version 4.0+ has a default
stack size of 16K. Use the {$M+} directive to increase the
stack size.
Reference:
7/16/98 4:35:37 PM
Last Modified: 01-SEP-99