Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!jkc From: jkc@Apple.COM (John Kevin Calhoun) Newsgroups: comp.sys.mac.hypercard Subject: Re: XCMDs and heap space Message-ID: <53874@apple.Apple.COM> Date: 11 Jun 91 18:37:25 GMT References: <1991Jun11.104716*Arne.Venstad@delab.sintef.no> Organization: Apple Computer Inc., Cupertino, CA Lines: 12 In article <1991Jun11.104716*Arne.Venstad@delab.sintef.no> Arne.Venstad@delab.sintef.no writes: >A simple question: Are the code resources (XCMD/XFCN) of a stack copied into >the heap on opening the stack (i.e. before any XCMD/XFCN are called)? No. Externals are copied into the heap only when they're invoked for execution. In 2.x, they remain there until purged by the Memory Manager or the Resource Manager. Kevin Calhoun jkc@apple.com