Get_Current_Input_Channel

See Also: File I/O Commands, get_Current_Input_Channel, Get_Channel_Position, Get_Current_Output_Channel, Sequential File I/O

Purpose

To retrieve the number of the sequential file channel currently being used for input.

Syntax

Get_Current_Input_Channel To {variable}

Argument Explanation

variable A variable that will hold the default input channel.

What It Does

The Get_Current_Input_Channel returns the default input channel into the specified variable, variable. Readln and other sequential input commands read from the default input channel.

Example

Integer iDefaultChannel

// Retrieve the current default input channel.

Get_Current_Input_Channel To iDefaultChannel

Showln "The current input channel is " iDefaultChannel

Notes