to count the number of changes you may use this approach
Set ^Data("Cambridge") = "1" if $increment(change("Cambridge"))
Set ^Data("New York") = "2" if $increment(change("New York"))
Set ^Data("Boston") = "3" if $increment(change("Boston"))
Set ^Data("London") = "4" if $increment(change("London"))
Set ^Data("Athens") = "5" if $increment(change("Athens"))
Set ^Data("Athens") = "6" if $increment(change("Athens"))
Set ^Data("Athens") = "7" if $increment(change("Athens"))
zw change
change("Athens")=3
change("Boston")=1
change("Cambridge")=1
change("London")=1
change("New York")=1- Log in to post comments