|
UnDimAll | ||
UnDimAll | ||
Parameters: NONE | ||
Returns: NONE | ||
UnDimAll will completely free the memory that ALL arrays are currently using. Freeing an arrays memory, that your no longer using is a good programming habit to get into. Once an array has been UnDimmed, it will be completely empty of all information. So before it can used again, PlayBASIC expects that you'll DIMension it. FACTS: * When you call UnDimAll, PlayBASIC will delete EVERY array from memory. * An UnDim'd arrays can't be used again, until they have been re-created using the DIM command. * When you applications you don't need to call UnDimAll yourself, PlayBASIC does this when it closes for you. This is true for all media also. Mini Tutorial: This example creates a handful of arrays, and displays their status before and after calling UnDimAll. This will most commonly be used to ensure your program cleans up after it'self..
This example will output.
|
Related Info: | Dim | GetArrayDimensions | GetArrayStatus | ReDim | UnDim : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |