[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETLASTKEY()
 Sets the value for LASTKEY()
------------------------------------------------------------------------------
 Syntax

     SETLASTKEY(<nKeyValue>) --> cNull

 Argument

     <nKeyValue> Designates the character code passed to LASTKEY().

 Returns

     SETLASTKEY() always returns a null string.

 Description

     SETLASTKEY() changes the contents of the memory area used by LASTKEY().
     This allows you to save the current contents of the LASTKEY() buffer in
     an error trap and restore it when you return to the program.

 Example

     Save the last key value so it can be changed and restored later:

     nCharacter: = LASTKEY()        // Save character code   *...   *...
     SETLASTKEY(nCharacter)         //  Reset LASTKEY


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson