Navigation:  Reference > Functions >

LastFile()

Print this Topic Previous pageReturn to chapter overviewNext page

 

LAST_FILE()

 

PURPOSE

This function returns the handle value of the last file accessed.

 

NO OTHER PARTS

 

RETURN TYPE - I

 

COMMENTS

The handle value returned by this function is the same as the FNUM value returned in the OPENV command.  You would generally use this function in connection with the RSRCH or RLCK TRAP commands.  Through the use of this function you can be sure that when a routine is called it is for the correct file.  If not, you can just exit.

 


Page url: http://www.cassoftware.com/tas/manual/lastfile().htm