|
of_getpredefinedsource
|
|
Full name
|
pfc_n_cst_error.of_getpredefinedsource
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getpredefinedsource(ref string)
|
public function integer of_getpredefinedsource (ref string as_source);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetPredefinedSource
//
// Access: public
//
// Arguments:
// as_source The file name use to retrieve pre-defined msgs (by ref).
//
// Returns: Integer
// 1 if it succeeds and -1 if it fails .
//
// Description: This function is called to get the source for reading
// pre-defined messages.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// For this function to be called successfuly, the input source type must
// be a file.
If is_msgsrc = FILE Then
as_source = is_msgfile
Return 1
End if
Return -1
end function