of_setunattended


pfcapsrv.pbl   >   pfc_n_cst_error   >   of_setunattended   

Full name pfc_n_cst_error.of_setunattended
Access public
Extend of integer
Return value integer
Prototype public function integer of_setunattended(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setunattended (boolean ab_unattended);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetUnattended
//
//	Access:  		public
//
//	Arguments: 		
//		ab_unattended 	boolean
//						true - set unattended option true
//						false - set unattended option false
//
//	Returns:  		Integer
//						1 if it succeeds and -1 if it fails.
//			
//	Description:  	Sets the state of the unattended flag.
//
//////////////////////////////////////////////////////////////////////////////
//

//	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 argument.
If IsNull(ab_unattended) Then
	Return -1
End If

ib_unattended = ab_unattended
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data