HP 3000 Manuals

MODIFY KEY [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

MODIFY KEY 

Modifies the item in the key register.

Syntax 

{MODIFY KEY} [new_item]
{MK        }
Parameters 

new_item         The name of the item to place in the key register.  If
                 you do not specify a new value for the key register, the
                 current value is displayed.  You can then either type
                 the new value or press Return to leave the key register
                 unchanged.

Discussion 

This command allows you to change the item in the key register.  After
the new item is placed in the key register, its value in the data
register is placed in the argument register.  You are then shown its new
value and are given the option of changing it.  If you do not want to
change the argument register, press Return.

Examples 

The following examples show how to change the item in the key register.

     TRANDEBUG> MODIFY KEY item1 
      ARGUMENT REGISTER: <abcde> := <fghij>

     TRANDEBUG> DISPLAY KEY 

      KEY REGISTER:      ITEM1
      ARGUMENT REGISTER: fghij

     TRANDEBUG> MODIFY KEY 

      KEY REGISTER       <ITEM1   > := <ITEM2   >
      ARGUMENT REGISTER  <xyz           > := <zyx     >



MPE/iX 5.0 Documentation