|
-
Feb 1st, 2013, 08:34 AM
#16
Thread Starter
Frenzied Member
Re: [RESOLVED] CopyMemory Shift Array one position
 Originally Posted by Bonnie West
OK, I'm not done yet so I'll post it later...
Thanks.
VB allows direct assign between two arrays and ReDim Preserve / ReDim to resize the array. I am wondering what VB did at back. Does VB also use CopyMemory / GetMem4 /VarPtrArray / Varptr / Strptr / SAFEARRAY to accomplish those functions?
For I = iDelRow + num To m_CntOfRows - 1
m_CellRows(I - num) = m_CellRows(I)
Next
m_CntOfRows = m_CntOfRows - num
ReDim Preserve m_CellRows(m_CntOfRows - 1)
Last edited by Jonney; Feb 1st, 2013 at 08:39 AM.
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
|