Get_Current_Input_Channel¶
Include: Use System\FileSystem.pkg
See Also: Direct_Input, Get_Current_Output_Channel, Get_Channel_Position, Sequential Channels
Purpose¶
Returns the active input channel.
Syntax¶
Get_Current_Input_Channel to {ChannelNumber}
The active input channel is set by the last Direct_Input Channel {ChannelNumber} command. Use Seq_New_Channel when opening files in application code; see Sequential Channels.
Example¶
Handle hFile
Integer iChannel
Get Seq_New_Channel to hFile
Direct_Input Channel hFile FILE "test1.txt"
Get_Current_Input_Channel to iChannel
Close_Input Channel hFile
Send Seq_Release_Channel hFile