cdif()

Function groupExecute on clientPlatform(s)
ClassNOAll

Syntax

cdif(oldclass,newclass)

Description

Returns a list of differences between two classes oldclass and newclass, the first parameter is the older class, and the second parameter is the newer class.

The cdif() function returns a binary representation of differences between two Omnis library classes of the same type, for example, you can compare two versions of the same window class.

An #ERRCODE value of 8095 means that the classes are identical. If an error occurs during execution, the flag is set to false, and #ERRCODE and #ERRTEXT will contain the error number and text.

Example

Calculate
 
lOldClass
 as 
$windows
.
window1
.
$classdata

Calculate
 
lNewClass
 as 
$windows
.
window2
.
$classdata

Calculate
 
lDiffList
 as 
cdif
(
lOldClass
,
lNewClass
)