Purge array

Purpose: Purge an array.

 purge-array <array>

purge-array deletes all elements from <array> that was created with new-array.

After purge-array, you can use it without calling new-array again; the array is initialized as if it was just created that way.
Examples
Create an array, put some data in it and then delete the data:
 new-array arr
 write-array arr key 50 value "myvalue"
 purge-array arr

See read-array for more examples.
See also
Array
new-array  
purge-array  
read-array  
write-array  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.