1 Replies - 1088 Views - Last Post: 12 June 2014 - 07:22 AM Rate Topic: -----

#1 flashyjuniormikirony  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 02-June 14

Copy Array to specific location

Posted 12 June 2014 - 07:15 AM

Hi,

I want to copy an array into a second array at the specific index in the second array.
I read about using the CopyMemory windows API but that doesnt give you the option to specify the sourceindex and the destination index in the second array

Can anyone help me out.

Private Declare Sub CopyMemory Lib "kernel32" _
    Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)



Is This A Good Question/Topic? 0
  • +

Replies To: Copy Array to specific location

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9382
  • View blog
  • Posts: 35,228
  • Joined: 12-June 08

Re: Copy Array to specific location

Posted 12 June 2014 - 07:22 AM

It's an array.. you would have a loop start at what ever index you want to start and keep track of what the index is in the second array (I assume starting at zero).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1