PWB Extensions Help (ext.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CopyStream
◄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.
-♦-