[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Write an object to the stream.
Source position: objects.pp line 289
procedure TStream.Put( |
P: PObject |
); |
Putwrites the object pointed to by P. Pshould be non-nil. The object type must have been registered with RegisterType.
After the object has been written, it can be read again with Get.
For an example, see TStream.Get;
No check is done whether P is Nilor not. Passing Nilwill cause a run-time error 216 to be generated. If the object has not been registered, the status of the stream will be set to stPutError.
|
Read an object definition from the stream. |