ecl-logo Documentation
ECL`

CompareObjects

CompareObjects[objects]summary

prints a table containing the field names and field values for any fields that have different contents between the objects.

CompareObjects[object1,object2]summary

prints a table containing the field names and field values for any fields that have different contents between object1 and object2.

Details

  • By default, the function only prints fields for which the values differ. However, it can be specified to print all fields and highlight those that differ.
  • Input
    Output
    General Options

Examples

open allclose all

Basic Examples  (3)

One object can be compared at two or more time points:

Print a table summarizing the differences in how fields are populated between two objects:

Two objects can be specified as a sequence:

Options  (7)

Date  (1)

Specify the date to perform the comparison between the objects:

ExcludedFields  (1)

Specify the fields to exclude from the comparison between the objects:

Fields  (1)

Specify the fields to compare between the objects:

OutputFormat  (1)

Output can be returned as an association:

OutputType  (2)

A list of field names with differing values can be returned:

Specifying Output->Full returns a comparison of all fields in the provided objects:

SortMultiple  (1)

Multiple fields can be compared when sorted:

Last modified on Thu 25 Sep 2025 19:22:38