J
Jaydabblju
Guest
Hey guys!
I try to copy an "original_grid" to a "copy_grid". I thought it would be an easy task but it seems a little bit difficult to me.
First I tried "copy_grid = original_grid". This worked and the copy_grid has got the same values as the original_grid.
Then I tried "ds_grid_copy(copy_grid, original_grid)". This worked too.
But in both cases when I change the value of a cell in copy_grid the appropriate cell in original_grid changes too to the new value. It seems the copy_grid references to the original_grid. But I want to have a complete new grid.
I am sure I make a mistake but I dont know what.
Thanks in advance.
I try to copy an "original_grid" to a "copy_grid". I thought it would be an easy task but it seems a little bit difficult to me.
First I tried "copy_grid = original_grid". This worked and the copy_grid has got the same values as the original_grid.
Then I tried "ds_grid_copy(copy_grid, original_grid)". This worked too.
But in both cases when I change the value of a cell in copy_grid the appropriate cell in original_grid changes too to the new value. It seems the copy_grid references to the original_grid. But I want to have a complete new grid.
I am sure I make a mistake but I dont know what.
Thanks in advance.