|
-
Feb 1st, 2013, 06:05 AM
#13
Re: [RESOLVED] CopyMemory Shift Array one position
Would you be willing to learn how to do it with CopyMemory? I'm currently making a diagram that illustrates the in-memory relationship of your data structure. It's quite complicated and I can tell you, manually shifting your array is no easy task, especially since you would have to deallocated the overwritten array element(s) yourself. So, unless you fully understand what you're doing, I would suggest don't do it.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
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
|