|
-
Aug 31st, 2001, 10:53 AM
#1
Thread Starter
Member
Getting the size of a dynamic string array in memory
I have a dynamic array of strings.
Dim DynArray() As String
Redim DynArray(x,y)
How can I find the size of the array in memory?
I have searched for information on the String data type and how it is stored in memory, but couldn't find much.
If I had defined the size of the strings, this question would be easy. (x * y * SizeOfString) But my strings are of varying length.
Is there any way to do this easily? Or do I have to keep track of the size of every string in the array using the Len() function?
Any help greatly appreciated.
Cedric
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|