System Variables

LFA

Last File Number Accessed

Numeric System Variable 

Contents

Integer, channel/file number of last device/file accessed

Description

The LFA 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.

Example

?lfa
0