of_setversion


pfcapsrv.pbl   >   pfc_n_cst_appmanager   >   of_setversion   

Full name pfc_n_cst_appmanager.of_setversion
Access public
Extend of integer
Return value integer
Prototype public function integer of_setversion(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setversion (string as_version);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetVersion
//
//	Access:  public
//
//	Arguments:		
//	as_version   Application version.
//
//	Returns:  Integer
//	 1 = succeess
//	-1 = error
//
//	Description:  Sets the version of this application
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(as_version) Then
	Return -1
End If

is_version = as_version
Return 1
end function

     
Name Owner
pfc_n_cst_apppreference.of_restoreapp pfc_n_cst_apppreference
n_cst_demopfc.constructor n_cst_demopfc

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data