|
Topic: DMD0006 MEMCLEAR - Clear Memory |
|
|
|
|
|
The Clear Memory (MEMCLEAR) instruction is used to clear a range of structures or numeric memory elements. The memory associated with each of the specified elements will be cleared, then, for memory types that require it, the memory will be initialized.
|
|
Parameters:Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Start Struct / Numeric - specifies the first element in the range of structures or numeric memory elements to clear. This can be any structure or any writable numeric location.
Number of Elements - specifies the number of contiguous structures or numeric memory elements to clear. This can be any positive constant value or any readable numeric location.
|
|
|
|
|
Status Display:The status display for the Clear Memory instruction will show the beginning and ending elements of the range of locations that will be cleared. |
|
|
|
|
See Also:
|
|
|
|
|
Rung Example:
|
|
|
|
|