ATTN
The ATTN error condition may be used in the ON error statement, but it cannot be used at the end of a program statement or with the Exit statement.
Error Trap:
ATTN traps the pressing of the F10 function key during program execution. It is generally used only for compatibility with IBM Business BASIC as it was used on the System/23.