file.name

Syntax

s = file.name(<f>)

Get the name of the file associated with the file pointer.

Returns:s - The name of the file associated with the file pointer.
Arguments:f - A pointer to the file, or the last file opened if not provided.