02-26-2020 08:36 AM
Hi 99,
@labview99 wrote:
I have tryed to do what GerdW tells me and the lengths continue being different. One 36 and the other 37
My magic glass ball says:
From the quality of your posts and shown code you probably used InsertIntoArray instead of ReplaceArraySubset somewhere in your code…
02-26-2020 08:49 AM
The problem is in the last frame in the case "false" whith the function array size, that the length is 37 and it must be 36.
02-26-2020 08:55 AM
Gerd's crystal ball is polished up quite nicely today!
Providing your attempt could have gotten you the answer 4 or 5 messages ago.
02-26-2020 08:56 AM
Hi 99,
@labview99 wrote:
The problem is in the last frame in the case "false" whith the function array size, that the length is 37 and it must be 36.
Yes, the problem is exactly in the last frame. My magic glass ball was right… 🙂
You did not implement any of the suggested improvements so far: why not?
02-26-2020 08:57 AM
YESS!!!
You were right GerdW, I was using Insert Into Array instead of using Replace.
Thank you so much for your help and for posting the code!
Best regards,
02-26-2020 09:00 AM
02-26-2020 09:04 AM
Just as GerdW suspected, that's exactly where you used "Insert Into Array" instead of "Replace Array Subset", which you properly used in other locations.
They *do* look awfully similar when their labels aren't visible.
-Kevin P
02-28-2020 10:24 AM