of_save


pfcapsrv.pbl   >   pfc_n_cst_apppreference   >   of_save   

Full name pfc_n_cst_apppreference.of_save
Access public
Extend of integer
Return value integer
Prototype public function integer of_save(boolean,string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_save (boolean ab_processapp, string as_regkey);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_Save
//
//	Access:  		public
//
//	Arguments:		
// ab_processapp  True if saving application info, false if saving user info
//	as_regkey		The name of the registry key 
//
//	Returns:  		Integer
//						1 if it succeeds and -1 if an error occurs.
//
//	Description:  	Saves the preference information to the Registry.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

//Check for valid parameters
If IsNull(ab_processapp) Or IsNull(as_regkey) or (as_regkey = "") Then 
	Return -1
End If

Return of_Save(True, ab_processapp, as_regkey, "")

end function

     
Name Owner
pfc_n_cst_apppreference.pfc_close pfc_n_cst_apppreference

     
Name Owner
systemfunctions.isnull systemfunctions
pfc_n_cst_apppreference.of_save pfc_n_cst_apppreference

     
Full name
No Data

     
Name Scope
No Data