table.compareContents

Syntax table.compareContents (adr1, adr2, flDateSensitive=false, flCompareOutlinesAsOpml=false, flCompareMenubarScripts=false)

Params adr1 is the Object Database address of the table you wish to compare to the table at adr2.

adr2 is the Object Database address of the table you wish to compare to the table at adr1.

If flDateSensitive is true, then the creation and modification dates of non-scalars will be compared, including the create/modification date of the tables themselves.

If flCompareOutlinesAsOpml is true, then outline objects will be converted to OPML for comparison -- nodeType attributes will be compared as well as heading text.

If flCompareMenubarScripts is true, then scripts contained in menubar objects will be compared in addition to menubar heading text.

Action Compares the two files identified by the parameters adr1 and adr2

Returns Return true if the contents are identical or false if not.

Examples table.compareContents (@scratchpad, @scratchpad)

   » true

table.compareContents (@scratchpad, @workspace)

   » false

Errors If adr1 and adr2 are not both valid table addresses, an error is generated.

Notes This verb is implemented in script.

Discuss