|
of_FileWrite
|
|
Full name
|
pfc_n_cst_filesrv.of_FileWrite
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_FileWrite(string,string)
|
public function integer of_FileWrite (string as_filename, string as_text);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_FileWrite
// Arguments: as_FileName The name of the file to write to.
// as_Text The text to be written to the file.
// Returns: Integer
// 1 if successful, -1 if an error occurrs.
// Description: Open, write to, and close a file. Handles strings > 32,765 bytes.
// This function overrides the real of_FileWrite to allow the Append
// parameter to be optional (default is True).
//////////////////////////////////////////////////////////////////////////////
// Rev. History: Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
Return of_FileWrite(as_FileName, as_Text, True)
end function