CDO$HELP.HLB  —  CDO Commands, DEFINE  KEY  Qualifiers

1    /ECHO

    Format options:

       /ECHO (default)
       /NOECHO

    Specifies whether CDO displays the equivalence string on your
    terminal screen after you press a key. The default is ECHO, which
    displays the equivalence string.

    You cannot use the /NOECHO qualifier with the /NOTERMINATE
    qualifier.

2    /IF_STATE

    Format options:

       /IF_STATE=state-name
       /NOIF_STATE (default)

    Specifies the state that must be in effect for a key definition
    to work. If you omit the /IF_STATE qualifier or use the /NOIF_
    STATE qualifier, CDO uses the current state. The state name is
    an alphanumeric string. The /SET_STATE qualifier or the SET KEY
    command establishes the state.

3    /LOCK_STATE

    Format options:

       /LOCK_STATE
       /NOLOCK_STATE (default)

    Specifies whether the state set by the /SET_STATE qualifier
    remains in effect until a user explicitly changes it. By default,
    the /SET_STATE qualifier is in effect only for the next definable
    key you press or the next read-terminating character that you
    type.

    If you specify the /LOCK_STATE qualifier, you must also specify
    the /SET_STATE qualifier.

4    /PROTECTED

    Format options:

       /PROTECTED
       /NOPROTECTED (default)

    Specifies whether CDO protects a key against later redefinition.
    The default is no protection against redefinition.

5    /SET_STATE

    Format options:

       /SET_STATE=state-name
       /NOSET_STATE (default)

    Specifies a new state for CDO to set when you press a key; by
    default, CDO resets the current locked state. If you have not
    included this qualifier in a key definition, you can use the SET
    KEY command to change the current state. The state name can be
    any alphanumeric string.

6    /TERMINATE

    Format options:

       /TERMINATE
       /NOTERMINATE (default)

    Specifies whether CDO immediately processes the key definition
    when you press the key (equivalent to typing the string and
    pressing the Return key).

    The default is NOTERMINATE, which allows you to press other keys
    before CDO processes the definition. 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.

    You cannot use the /NOTERMINATE qualifier with the /NOECHO
    qualifier.
Close Help