MAINSAIL Language Manual, Section 47.6

previous   next   top   complete contents   complete index   framed top   this page unframed


47.6. scratchDispose

Figure 47–7. scratchDispose (GENERIC)
PROCEDURE   scratchDispose
                        (
MODIFIES REPEATABLE ADDRESS a);

PROCEDURE   scratchDispose
                        (
MODIFIES REPEATABLE CHARADR c);

scratchDispose is used to dispose of scratch space obtained with newScratch (the ADDRESS form) or $newScratchChars (the CHARADR form). The argument a or c is set to Zero. The result is undefined if the storage at a or c was not obtained by a call to newScratch or $newScratchChars, respectively.

MAINSAIL automatically keeps track of the size of scratch space allocations.


previous   next   top   complete contents   complete index   framed top   this page unframed

MAINSAIL Language Manual, Section 47.6