I'm rusty too  but to me it looks like  if more than one element
(line) is in the array, it walks through the array and returns an
error if any entry is not for the same chip as the first element.
I did not look for the structs that make up the elements.
Nice to see some defensive programming...


Rod Webster
1300 896 832
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au

On Fri, 28 Jul 2023 at 01:13, andy pugh <bodge...@gmail.com> wrote:
>
> On Thu, 27 Jul 2023 at 01:24, andy pugh <bodge...@gmail.com> wrote:
>
> > I think that this is comparing two pointers to the same struct. But
> > they won;t ever match as they are different variables?
>
> Or. alternatively, I had been staring at the screen too long and my
> brain was frazzled.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to