Just an update, I know I can pass both into a function that does the
following:

checkForEquality( a:AC, b:AC ):Boolean {
 if( a.length != b.length ) return false;

 loop through each item
 if an item differs, return false;

 return true;
}

however, I was hoping for a solution with less overhead.

--- In flexcoders@yahoogroups.com, "tchredeemed" <[EMAIL PROTECTED]> wrote:
>
> How would you go about comparing two array collections?
> 
> Each array collection is populated with items of an ADT ("Order", to
> be exact).
> 
> If I do .toString() comparisons, it only appears as different if I add
> or remove an "Order", because the .toString() shows up as "[object
> Order], [object Order], etc.."
> 
> I need to know if I add or remove an order, as well as if an order
> changes...
>  
> Just wondering if there is an easy solution.
>


Reply via email to