<$triggerAbbr>

Trigger name abbreviation.

<$triggerAbbr>

#define<$triggerAbbr>=Value

Scope

Trigger or container, depending on where the constant is defined. By default, <$triggerAbbr> has container scope.

Description

You can explicitly define an abbreviation, or any other string, to identify a particular trigger. If you do so, you must also explicitly define the scope using #startdefine and #enddefine. For example:

#startdefine
#define $triggerAbbr=Detail
trigger detail
   ...
end
#enddefine

If not explicitly defined, <$triggerAbbr> returns the following abbreviations:

Trigger and Component Name Abbreviations

Abbreviation

Trigger or Container

Object Type

ASCR USCRIPT Application shell
CSCR USCRIPT Component
DCLA UDECLARATIONS Application shell
DCLC UDECLARATIONS Component
DCLE UDECLARATIONS Entity
DCLF UDECLARATIONS Field
ESCR UCOLL_SCRIPT Entity
FSCR USCRIPT Field
OSCR UOCC_SCRIPT Entity
OPTN option Menu Item
PDIS preDisplay Menu

If you have migrated from Uniface 9, trigger abbreviations may have been explicitly defined. For more information, see Migrated Trigger Abbreviations.

History

Version

Change

10.02.01

Now possible to redefine the value.

Related Topics