|
of_setkey
|
|
Full name
|
pfc_n_cst_nodebase.of_setkey
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setkey(any)
|
public function integer of_setkey (any aa_key);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_setkey
//
// Access: public
//
// Arguments :
// aa_key key to be set
//
// Returns: integer
// 1 = success
// -1 = Failure
//
// Description:
// Sets the Key property
//
// Note:
// In certain situations changing the key values after the node is in the list
// will cause errors. For instance, cases where the keys are 'sorted' or
// 'duplicates' are not allowed.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
ia_key = aa_key
return 1
end function