Getting and inserting rows

(2 posts) (2 voices)
  • Started 5 years ago by zerit2002
  • Latest reply from rathina


No tags yet.

  1. zerit2002

    new member
    Joined: Jul '16
    Posts: 1

    I'm rather new to virtools and I would be grateful for any assistance.
    I'm trying to copy a row from one array to another using GetRow and InsertRow. It's working, but it's causing
    data corruption.
    This is the relevant bit of my code:

    arrayTwo.InsertRow(-1) = arrayOne.GetRow(Var);

    The part that really confuses me is that the data corruption is occurring in the array that is being read...
    Why is this happening?
    What am I doing wrong?

    Posted 5 years ago #
  2. rathina

    Joined: Jul '16
    Posts: 107


    check out the data type of the second array. It might be mismatching data type.

    Posted 5 years ago #


You must log in to post.