Revision history for KeyPgErase


Revision [22483]

Last edited on 2018-09-10 06:35:50 by fxm [Reformulated description, very slightly]
Additions:
Using ##**Erase**## on a variable-length array (array already sized) frees the memory allocated for the array elements, but the array remains declared at its same scope level (with the same datatype and number of dimensions).
Deletions:
Using ##**Erase**## on a variable-length array (array already sized) frees the memory used by the element data (does not allow to after resize it with a different number of dimensions).


Revision [21437]

Edited on 2016-04-30 07:13:53 by fxm [Complemented description]
Additions:
Using ##**Erase**## on a fixed-length array resets all elements without freeing the allocated memory.
In case of objects, there is destruction then re-construction.
In case of objects, there is destruction before freeing memory.
Deletions:
Using ##**Erase**## on a fixed-length array clears (re-initializes) all elements.


Revision [20917]

Edited on 2016-03-12 17:15:58 by fxm [Formatting]
Additions:


Revision [20221]

Edited on 2016-02-10 15:59:46 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgSub|sub]] **Erase** ( array [[KeyPgAs|as]] [[KeyPgAny|any]] [, ... ] )
- ##[[KeyPgCommon|Common]]##
- ##[[KeyPgDim|Dim]]##
- ##[[KeyPgExtern|Extern]]##
- ##[[KeyPgLbound|Lbound]]##
- ##[[KeyPgRedim|Redim]]##
- ##[[KeyPgStatic|Static]]##
- ##[[KeyPgUbound|UBound]]##
- ##[[KeyPgVar|Var]]##
Deletions:
[[KeyPgDeclare declare]] [[KeyPgSub sub]] **Erase** ( array [[KeyPgAs as]] [[KeyPgAny any]] [, ... ] )
- ##[[KeyPgCommon Common]]##
- ##[[KeyPgDim Dim]]##
- ##[[KeyPgExtern Extern]]##
- ##[[KeyPgLbound Lbound]]##
- ##[[KeyPgRedim Redim]]##
- ##[[KeyPgStatic Static]]##
- ##[[KeyPgUbound UBound]]##
- ##[[KeyPgVar Var]]##


Revision [17227]

Edited on 2014-09-03 04:08:45 by FxMwikki [ERASE a var-len array already sized does not allow to then modify its number of dimensions]
Additions:
Using ##**Erase**## on a fixed-length array clears (re-initializes) all elements.
Using ##**Erase**## on a variable-length array (array already sized) frees the memory used by the element data (does not allow to after resize it with a different number of dimensions).
Deletions:
Erases the element data of one or more variable-length arrays from memory, or clears (re-initializes) all elements in a fixed-length array.


Revision [15847]

Edited on 2012-01-26 14:05:26 by DkLwikki [Typos]
Additions:
An array to be erased.
Erases the element data of one or more variable-length arrays from memory, or clears (re-initializes) all elements in a fixed-length array.
Deletions:
An array to be erase.
Erases the element data of one or more variable-length arrays from memory, or clears (initializes) all elements in a fixed-length array.


Revision [10895]

The oldest known version of this page was created on 2007-08-21 01:31:01 by LaananFisher [Typos]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode