FGL_LASTKEY ( )

The FGL_LASTKEY( ) function returns an INTEGER code, corresponding to the logical key that the user most recently typed in a field of a screen form.

4GLREF00000088.gif

The FGL_LASTKEY( ) function returns a numeric code for the last keystroke by the user before FGL_LASTKEY( ) was called. For example, if the last key that the user entered was the lowercase s, the FGL_LASTKEY( ) function returns 115.

The value returned by FGL_LASTKEY( ) is undefined in a MENU statement.

References

ASCII

FGL_KEYVAL( )