Bear in minf that when you sue the .equals() method, you are using a *Java* method, so it will also be considering differences in type too (eg: Long vs Double, etc). Plus casing differences too.
To check stuff at a CFML level, write a recursive function which takes both arrays, and which loops over the array, either doing a compare() if the value is simple (output both values, and the comparison result), or re-calling itself if it's an array. I'm interested to know what your data is in that you've found a two-dimensional array is the best fit for a data-type. That's pretty rare in business applications (which most CFML apps are, so assuming yours is too). -- Adam On 28 February 2014 11:29, Byron Mann <byronos...@gmail.com> wrote: > > Is it possible there is whitespace appended to some of the array values? > > Byron Mann > Lead Engineer & Architect > HostMySite.com > On Feb 27, 2014 7:32 PM, "morchella" <morchella.delici...@gmail.com> > wrote: > > > > > hey guys i have two, 2 dimensional arrays. > > they have 3 columns. > > > > i have used #array2.equals(array1)# to show when they are difference and > > then > > just continue with normal logic. > > > > but now i have an instance where they say no the don't equal. > > but for the life of me i cant visually see the difference in the query's > > > > > > i am using cf9 locally and 10 on the server. > > how can i force the different record(S) to display. > > > > thanks a bunch, -m > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357788 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm