|
of_string
|
|
Full name
|
pfc_n_cst_conversion.of_string
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_string(icon)
|
Name
|
Datatype
|
ls_null
|
String
|
public function string of_string (icon ae_icon);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_String
//
// Access: public
//
// Arguments:
// ae_icon The icon value to be converted to a string.
//
// Returns: string
// A string representation of the icon value.
// If ae_icon is NULL, the function returns NULL.
// If ae_icon is Invalid, the function returns '!'.
//
// Description: Converts the icon 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(ae_icon) Then
String ls_null
SetNull(ls_null)
Return ls_null
End If
Choose Case ae_icon
Case None!
Return "None"
Case Question!
Return "Question"
Case Information!
Return "Information"
Case StopSign!
Return "StopSign"
Case exclamation!
Return "Exclamation"
End Choose
//Invalid parameter value
Return "!"
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.setnull |
systemfunctions
|