IND() Function - Get File Index Pointer

Syntax

IND(channelno{,ERR=lineref}{,END=lineref})

Description

The IND() function returns the pointer of the current record on channelno. For TCP/IP or UDP socket connections, it returns the socket number.

If the file pointer is at the end of the file, an !ERROR=2 is generated. Some file types do not return anything as the index.

Example

4910 LET A=IND(CHANNEL,END=9000)

See Also

Functions - Alphabetical Listing