of_OpenLog


pfcutil.pbl   >   pfc_n_cst_debug   >   of_OpenLog   

Full name pfc_n_cst_debug.of_OpenLog
Access public
Extend of integer
Return value integer
Prototype public function integer of_OpenLog(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_OpenLog (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_OpenLog
//
//	Access:  		public
//
//	ab_switch	True to open DebugLog window.
//					False to close DebugLog window.
//
//	Returns:  	integer
//					Return value of Open or Close PowerBuilder call.
//					0 if no action to open or close the window is taken.
//					If any argument's value is NULL, function returns -1.
//
//	Description:	Open or Close the DebugLog window.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

//Check arguments
If IsNull(ab_switch) Then
	Return -1
End If

If ab_switch Then
	Return Open(w_debuglog)
Else
	If IsValid(w_debuglog) Then
		Return Close(w_debuglog)
	End If
End If

Return 0

end function

     
Name Owner
pfc_n_cst_debug.destructor pfc_n_cst_debug

     
Name Owner
systemfunctions.close systemfunctions
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.open systemfunctions

     
Full name
w_debuglog

     
Name Scope
No Data