Topic Path: Symbol Reference > Classes > TAppendFileStream Class > TAppendFileStream Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TAppendFileStream.Create Constructor

Constructor for the object instance.

constructor Create(
    const AFile: String
);
Parameters 
Description 
AFile 
File name used to access and store content for the file stream. 

Create is the constructor for the object instance. 

AFile is the file name in the local file system used to access and store the content for the file stream. 

If the file specified in AFile does not already exist, it is created by calling the inherited constructor with the following File mode: 

 

 

When AFile already exists on the local file system, the file stream is created by calling the inherited constructor using the following File and Sharing modes OR'd togehter: 

 

 

When an existing file is specified in AFile, the file stream is positioned at its' end (using the indicated Size for the stream). This ensures that the newly created stream will append any output written to the stream after existing content.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.