Does one have an extra but empty attribute? For testing only, try comparing array1 = array1 and see what you get.
John Israel Sent from my iPhone On Jul 20, 2012, at 8:57 PM, "Bill Brutzman" <[email protected]> wrote: > 1. These are Dynamic Arrays... as indicated in the Subject field of the > original post. > 2. Yes... I also expected the equals to work... it does not... that why I > wrote. > > --Bill > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Woodward, Bob > Sent: Friday, July 20, 2012 6:44 PM > To: U2 Users List > Subject: Re: [U2] Comparing Two Dynamic Arrays > > Is it a DIM array or a DYNAMIC array? I would think that a DIM array would > probably be false because it's space is assigned in memory using initial > values of whatever data was in that location. I would expect a DYNAMIC array > to work, though, as it's really just a single location in memory. No proof > but that's what I'd expect, anyway. > > BobW > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Bill Brutzman > Sent: Friday, July 20, 202 1:23 PM > To: U2 Users List > Subject: [U2] Comparing Two Dyamic Arrays > > Begin case > Case array1 = array2 ; sameThing = true > Case 1 ; sameThing = false > End case > > When I tried to use an equals sign... I did not get the right answer. > > While the COMPARE function works ok... and I presume that it is a compiler > thing... > > It is not clear to me why the equals sign has been disempowered. > > Insights would be appreciated. > > --Bill > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
