of_isoperator


pfcmain.pbl   >   pfc_u_calculator   >   of_isoperator   

Full name pfc_u_calculator.of_isoperator
Access protected
Extend of boolean
Return value boolean
Prototype protected function boolean of_isoperator(string)

Name Datatype
No Data

Name Datatype
No Data

protected function boolean of_isoperator (string as_operator);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_IsOperator
//
//	Access:    Protected
//
//	Arguments:	
//		as_operator	A value to be tested.
//
//	Returns:  Boolean
//	True if the tested value is an operator.
//
//	Description:  
//	Determines if the passed in value is an operator.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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 as_operator
	CASE '/', '*', '+', '-'
		Return True
END CHOOSE

Return False

end function

     
Name Owner
pfc_u_calculator.of_buttonclicked pfc_u_calculator

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data