|
of_string
|
|
Full name
|
pfc_n_cst_conversion.of_string
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_string(ostypes)
|
Name
|
Datatype
|
ls_null
|
String
|
public function string of_string (ostypes ae_ostype);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_String
//
// Access: public
//
// Arguments:
// ae_ostype The ostype that needs conversion.
//
// Returns: string
// A string representation of the ostype value.
// If ae_ostype is NULL, the function returns NULL.
// If ae_ostype is Invalid, the function returns '!'.
//
// Description: Converts the ostype enumerated datatype to a
// readable string representation.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
String ls_null
If IsNull(ae_ostype) Then
SetNull (ls_null)
Return ls_null
End If
Choose Case ae_ostype
Case aix!
Return 'aix'
Case hpux!
Return 'hpux'
Case macintosh!
Return 'macintosh'
Case osf1!
Return 'osf1'
Case sol2!
Return 'sol2'
Case windows!
Return 'windows'
Case windowsnt!
Return 'windowsnt'
End Choose
//Invalid parameter
Return '!'
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.setnull |
systemfunctions
|