02-14-2011 08:55 AM
HI,
I am trying to add 2 2D arrays using a shift register but it always give me zero out.
Here is a very simple piece of code to show.
If anyone can tell me what is wrong it would be most appreciated
Thanks
Adam
Solved! Go to Solution.
02-14-2011 09:05 AM - edited 02-14-2011 09:07 AM
You need initialize the shift register. Otherwise, you are trying to add to an empty array.
edit: add snippet
02-15-2011 07:25 AM
Thanks, I see now. Didn't realise you had to do that.
P.S. Go Hokies 😉