Sub GetComparisonInfo($memWeb As String, $memLocal As String, $comparisonMode As integer, ByRef $numNew As integer, ByRef $numChanged As Integer, ByRef $numDeleted As Integer)


Calculates the number of new, changed, and deleted items. This procedure can, for example, be used to determine whether only content has been removed.


Parameters


  • $memWeb ... String expression. Page source code of the web version.
  • $memLocal ... String expression. Page source code of the locally saved version.
  • $comparisonMode ... Comparison method used to compare the web and local versions.
  • $numNew ... Number of new items.
  • $numChanged ... Number of changed items.
  • $numDeleted ... Number of deleted items.


Values for $comparisonMode


  • 0 ... Word-based. Compares the document by words.
  • 1 ... Sentence-based. Compares the document by sentences.
  • 2 ... Paragraph-based. Compares the document by paragraphs.