Returning the current position of a sequential file

tell()

Return the current position of a sequential file


SYNTAX

tell(channel)

Returns the current position of the sequential file open on channel, relative to the start of the file. Position starts from 0.

This function returns an integer type.

NOTES


EXAMPLES

int1 = tell(channel1)
int2 = tell(4)

RELATED TOPICS

Sequential files