Progress
Programming
Handbook


The ENDKEY Condition

The ENDKEY condition occurs when you press ENDKEY when input is enabled. It also occurs if an attempt to find a record fails or you reach the end of an input stream.

Progress does not have a predefined ENDKEY on the keyboard. However, you can use the ON statement to assign a key as ENDKEY, or you can define any control (CTRL) key or other special key as ENDKEY. Then, when the user presses that key, the ENDKEY condition is raised. Also, the ENDERROR key behaves like ENDKEY for the first I/O operation in a block.

NOTE: Do not confuse the ENDKEY with the END key. They are completely unrelated.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095