13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

o The order in which MARK and RELEASE work is the order of actualprogram execution, which may be different from the order in which theyappear in the source text.o You can only release memory from the current point at which it is beingfilled; you cannot release a piece out of the middle.o The pointer variables used with MARK and RELEASE may have anybase type; INTEGER is usually most convenient. The base type isimmaterial because it is not used.o Do not try to use MARK or RELEASE with the same pointer variables youuse with NEW, unless you are abandoning the dynamic variables theypoint to.o When Pascal reads a disk directory, it uses 2048 bytes from the memoryspace available for dynamic variables. Executing either MARK,RELEASE, or NEW will release this space for use.A. Waming I Careless use of MARK and RELEASE can leave pointer variables pointingto meaningless memory locations. This can lead to inadvertentdestruction of data.III-70Chapter 5: Dynamic Variables

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!