>Hi Jim,
>
>>The private one is released when AProc terminates, that is the difference.
>
>Sorry if I'm not getting it. The PUBLIC is seen by the calling procedure and the PRIVATE is not while APROC is still living (which can be tested using the locals window while stepping through the code I provided). Why is that not a different difference?
Mike,
If AProc is running the private exists. I have no idea how you can see memory for the calling procedure while Aproc is still running. If Aproc is running then the calling procedure is not running, VFP is single threaded. When aproc is finsihed and control returns to teh calling procedure the private variable will no longer exist.