base.Channel.close

Closes the channel.

Syntax

close()

Usage

Call the close() method when you are done with the channel. The channel can be re-opened after it has been closed.

Note: A channel is automatically closed, when the channel object is destroyed.

Example

CALL ch.close()

For a complete example, see Example 1: Reading formatted data from a file.