Subj : Re: Initialize subroutine in startup assy code never returns if total RAM usage goes over 0x1f000 To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Wed Mar 23 2005 12:23 pm Mike Hollenbeck wrote: >The Ram starts at 0x2400 and is 256K large >The Stack is 45K So, 256(ram) - 9(system) - 45(stack) - 128(heap) = 74k for static and global variables. Is that enough? And, again I'll ask why you are setting such a large heap if you aren't using it? >but I was told that there are scope differences that need to be addressed, Main scope change I can remember is for( int i=0; i<1; ++i ) used to be illegal (or was it also visible in outter scope?) Those that hang out in cppbuilder.language.cpp might remember the changes. .