[Overview][Constants][Types][Procedures and functions][Index] |
Eliminate tags which specify no change.
Source position: utility.pas line 216
procedure FilterTagChanges( |
ChangeList: PTagItem; |
const Oldvalues: PTagItem; |
Apply: LongBool |
); |
ChangeList |
|
A list of new tags (may be nil) |
Oldvalues |
|
A list of existing tags (may be nil) |
Apply |
|
Boolean specification as to whether the data values in originalList are to be updated to the data values in changeList. |
This function goes through changeList. For each item found in changeList, if the item is also present in originalList, and their data values are identical, then the tag is removed from changeList. If the two tag's data values are different and the 'apply' value is True, then the tag data in OldValues will be updated to match the value from ChangeList.
|
Change a tag list based on a second tag list. |