|
of_compareattrib
|
|
Full name
|
pfc_n_cst_rtefind.of_compareattrib
|
Access
|
protected
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
protected function boolean of_compareattrib(n_cst_findattrib)
|
protected function boolean of_compareattrib (n_cst_findattrib anv_findattrib);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_CompareAttrib
//
// Access: protected
//
// Arguments:
// anv_findattrib nvo structure to compare
//
//
// Returns: boolean
// true - the structures are the same
// false - the structures are not the same
//
// Description: This function is called to replace text found in search.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
//If any of the attributes do not match, return false
if anv_findattrib.is_find <> inv_findattrib.is_find then return false
if anv_findattrib.is_replacewith <> inv_findattrib.is_replacewith then return false
if anv_findattrib.ib_wholeword <> inv_findattrib.ib_wholeword then return false
if anv_findattrib.ib_matchcase <> inv_findattrib.ib_matchcase then return false
if anv_findattrib.is_direction <> inv_findattrib.is_direction then return false
//The structures match.
return true
end function