Skip to content

Seq_Release_Channel

Include: Use System\FileSystem.pkg

See Also: Seq_New_Channel, Sequential Channels, Direct_Input, Direct_Output, Append_Output, Close_Input, Close_Output

Purpose

Releases a sequential I/O channel for reuse.

Syntax

Send Seq_Release_Channel {ChannelNumber}

Call Seq_Release_Channel after closing the input or output file that used the channel.

Example

Use System\FileSystem.pkg

Handle hFile

Get Seq_New_Channel to hFile
Direct_Input Channel hFile FILE "test1.txt"
Close_Input Channel hFile
Send Seq_Release_Channel hFile