|
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,blob)
|
public function integer of_FileWrite (string as_FileName, blob ablb_Data);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_FileWrite
// Arguments: as_FileName The name of the file to write to.
// ablb_Data The data to be written to the file.
// Returns: Integer
// 1 if successful, -1 if an error occurrs.
// Description: Open, write from a blob, and close a file. Handles blobs > 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, ablb_Data, True)
end function