|
of_setlogfilestyle
|
|
Full name
|
pfc_n_cst_error.of_setlogfilestyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setlogfilestyle(integer)
|
public function integer of_setlogfilestyle (integer ai_style);//////////////////////////////////////////////////////////////////////////////
//
// Function:
// of_SetLogFileStyle
//
// Access: public
//
// Arguments:
// ai_style The style to be used for logging messages to a file.
//
// Returns: Integer.
// 1 success
// -1 error
//
// Description:
// Sets the style to be used for logging messages to a file.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
CHOOSE CASE ai_style
CASE TAB_DELIMITED, NEWLINE_DELIMITED
ii_logfilestyle = ai_style
Return 1
END CHOOSE
Return -1
end function