LATCP$HELP.HLB  —  DEFINE  /KEY  Qualifiers

1    /ECHO

       /ECHO
       /NOECHO

    Specifies whether LATCP displays the command string on your
    screen when you press the key. If you do not specify the /ECHO
    or /NOECHO qualifier, the default is that the command string
    will be displayed. You cannot use /NOECHO with the /NOTERMINATE
    qualifier.

2    /IF_STATE

       /IF_STATE=state-name

    Specifies the state that must be set (for example, the GOLD
    state) for the key definition to work. Lets you assign
    alternative meanings to keys when the specified state is set.
    See the discussion of the /SET_STATE qualifier. If you omit the
    /IF_STATE qualifier, LATCP uses the current state. The state name
    is an alphanumeric string. States are established with the /SET_
    STATE qualifier.

3    /LOCK_STATE

       /LOCK_STATE
       /NOLOCK_STATE

    Specifies that the state set by the /SET_STATE qualifier remain
    in effect until explicitly changed. If you use the /NOLOCK_STATE
    qualifier, the state set by /SET_STATE remains in effect only
    for the next definable key that you press or for the next read-
    terminating character (such as Return or Ctrl/Z) that you type.

    You can specify the /LOCK_STATE qualifier only with the /SET_
    STATE qualifier. If you do not specify the /LOCK_STATE or
    /NOLOCK_STATE qualifier, the default is that the state set by the
    /SET_STATE qualifier remains in effect until explicitly changed.

4    /LOG

       /LOG
       /NOLOG

    Specifies whether LATCP displays a message confirming that the
    command was executed. If you do not specify the /LOG or /NOLOG
    qualifier, the default is that no message will be displayed.

5    /SET_STATE

       /SET_STATE=state-name

    Causes the specified state to be set when you press the defined
    key. The state name can be any alphanumeric string (for example,
    GOLD). Use the DEFINE/KEY/IF_STATE=state-name command to
    associate new meanings for keys when the specified state is set.
    See the example for the DEFINE/KEY command.

    If you omit the /SET_STATE qualifier, the current state that was
    locked remains in effect.

6    /TERMINATE

       /TERMINATE
       /NOTERMINATE

    Specifies whether the command string will be terminated
    (processed) when you press the function key. The default is
    /NOTERMINATE, which allows you to press other keys before the
    command string is processed. Pressing Return has the same effect
    as using /TERMINATE.

    The /NOTERMINATE qualifier allows you to create key definitions
    that insert text into command lines, after prompts, or into other
    text that you are typing.
Close Help