4DQuiz


OT CompareItems View from small screen devices!  

OT CompareItems version 1

OT CompareItems(inSourceObject; inSourceTag; inCompareObject; inCompareTag) Number

Parameter Type Description

inSourceObject Longint A handle to an object

inSourceTag String An item tag

inCompareObject Longint A handle to an object

inCompareTag String An item tag

Function result Number 0 if not identical, 1 if identical, -1 if

an error occurred

Discussion

OT CompareItems compares two items for equality. inSourceObject and inCompareObject may be the same object.

If inSourceObject or inCompareObject is not a valid object handle, if either of the two items do not exist, or if the two items do not have the same type, an error is generated, OK is set to zero, and -1 is returned.

Otherwise, the items are compared according to the rules of equality used for equivalent variable types in 4D, with the addition that you may compare BLOB, Picture and embedded object items. These additional types are considered identical if they contain the same data byte for byte.



Topics of Interest
Item Utility Routines
 

Published date: Fri, 14 Jul 2006 18:39:05 GMT   → View XML Version

Edit this page now

© 2005 - 2006 4dquiz.com, All trademarks accepted. All Rights Reserved!
Site Index