◄Up► ◄Contents► ◄Index► ◄Back► ─────PWB Extensions───────────────────────────────────────────────────────── Syntax: void CopyStream( PFILE pfSource, PFILE pfDest, COL xStart, LINE yStart, COL xEnd, LINE yEnd, COL xDest, LINE yDest ); See: CopyBox, CopyLine, ◄Processing Text► CopyStream copies a stream of text, including line breaks, from one file to another. The source and destination files are specified by <pfSource> and <pfDest>. If <pfSource> is PNULL, a stream of blanks is inserted. These arguments define the stream to be copied: Argument Position <xStart> First character <yStart> First line <xEnd> Position immediately after the last character <yEnd> Last line The text is inserted into the destination file just before the location specified by <xDest> and <yDest>. The same file cannot serve as both source and destination. If the copied stream has colors, they are copied with the text. -♦-