Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Copies the information that is contained in an InStream to an OutStream.
Syntax
[Ok :=] COPYSTREAM(OutStream, InStream)
Parameters
OutStream
Type: OutStream
The OutStream object to which you will copy the information; the destination stream.
InStream
Type: InStream
The InStream object from which you want to copy; the source stream.
Property Value/Return Value
Type: Boolean
Specifies whether the data was copied.
Example
This example requires that you create the following variables.
| Variable name | DataType |
|---|---|
| F1 | File |
| F2 | File |
| InS | InStream |
| OutS | OutStream |
F1.OPEN('c:\Test.txt');
F1.CREATEINSTREAM(InS);
F2.CREATE('c:\CopyTest.txt');
F2.CREATEOUTSTREAM(OutS);
COPYSTREAM(OutS,InS);
F1.CLOSE();
F2.CLOSE();