System Variables
LFA Last File Number Accessed
Numeric System Variable
 
Contents Integer, channel/file number of last device/file accessed.
 
Description This system variable indicates the channel of the last file or device accessed. The value is 0 (zero) if the last device was the console/user's terminal.
 
Examples ->?LFA
0