Deleting Members of Arrays?
Keywords: delete a member of an array
Question:
How do I delete a member of an array?
Answer:
The clear a member you could do something like
myArray[num] =""
OR
myArray[num] = 0
Question (cont'd):
But if I have a 2 member array, will setting one of them = "" or 0, still keep the size the same?
How do I compact the sizeof the array?
Answer:
You cannot alter the size of an array
It is a fixed size. All you could possibly do is create a new one and copy the data.
Article ID: W14822
File Created: 2001:11:08:12:40:10
Last Updated: 2001:11:08:12:40:10