|
>From: SCarter@rsrcorp.com
>Date: Wed, 9 Jan 2002 09:10:28 -0600
> ...
>The only other question I have is when I Dealloc do I do it on each entry
>of the list or or do I just
>dealloc First. I would think I need to do it on each entry to clear the
>space.
> ...
S, you need to dealloc each entry of the list. Basically you need to do
a DEALLOC to match every ALLOC that you've done. Be sure you get the
"next" pointer before you dealloc the storage:
eval p = first
dow p <> *null
eval free = p
eval p = next
dealloc free
enddo
Barbara Morris
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.