Welcome Guest. Please Login or Register. Apr 6th, 2018, 12:19am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
In LOCAL A% the LOCAL means that the variable A% should be saved temporarily during the execution of the FN/PROC, and restored on exit, so that it does not affect the use of that same variable in the code from which the FN/PROC is called.
In DIM A% LOCAL 67 the LOCAL means that the memory is allocated from the stack rather than from the heap. Memory allocated from the stack is freed when the FN/PROC exits, but memory allocated from the heap isn't.
OK. That makes sense. But does that mean that DIM A% 67 allocates memory from the heap and therefore isn't freed on exit from a FN/PROC?