Are you asking how to update an element in an array?
anArray[idx] = <new value for the element>;
Or are you asking how to get the correct size to use when defining an array?
Your posted sample...
Type: Posts; User: Norm
Are you asking how to update an element in an array?
anArray[idx] = <new value for the element>;
Or are you asking how to get the correct size to use when defining an array?
Your posted sample...
NOTE: Post moved to own thread.
Do you have any specific questions or problems with the code?
One minor problem I see is the formatting is not consistent. Indentations within {}s is poor...