TStream() > Methods xHarbour Developers Network  

oTStream:copyTo()

Copies a stream of data to a TStreamFileWriter object.

Syntax

:copyTo( <oTStreamFileWriter> ) --> self

Arguments

<oTStreamFileWriter>
This must be an object capable of writing to a stream of data, such as a TStreamFileWriter() object.

Description

Method :copyTo() is used to copy the entire stream of data maintained by the self object to the target object. The target object's instance variable :lCanRead must contain .T. (true) for the method to work. If this is not the case, the target object is considered to be not writeable and a runtime error is raised.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe