|
of_string
|
|
Full name
|
pfc_n_cst_conversion.of_string
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_string(windowstate)
|
Name
|
Datatype
|
ls_null
|
String
|
public function string of_string (windowstate aws_windowstate);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_String
//
// Access: public
//
// Arguments:
// aws_windowstate The windowstate value to be converted to a string.
//
// Returns: string
// A string representation of the windowstate value.
// If aws_windowstate is NULL, the function returns NULL.
// If aws_windowstate is Invalid, the function returns '!'.
//
// Description: Converts the windowstate enumerated datatype to a
// readable string representation.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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 parameters
If IsNull(aws_windowstate) Then
String ls_null
SetNull(ls_null)
Return ls_null
End If
Choose Case aws_windowstate
Case Normal!
Return "normal"
Case Maximized!
Return "maximized"
Case Minimized!
Return "minimized"
End Choose
//Invalid parameter value
Return "!"
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.setnull |
systemfunctions
|