DCLEVENT creates an event.
DCLEVENT
Name (Character Expression)
Type (Delegate type)
Access (*PRIVATE | *PUBLIC | *PROTECTED | *INTERNAL)
Shared (*NO | *YES)
Modifier (NONE | *MUSTOVERRIDE | *NOTOVERRIDABLE | *OVERRIDABLE | *OVERRIDES)
Implements (Interface name list
Attributes (Attribute 1, Attribute 2, ...)
Required. The name of the event.
Optional. A delegate type, i.e. a type that derives from (or extends) System.Multicast.Delegate.
Optional. The type of access to the member. *PRIVATE is the default.
*PRIVATE (default) - access to the member is accessible only from within their declaration context, including from members of any nested types, for example from within a nested procedure or from an assignment expression in a nested enumeration.
*PUBLIC - access to the member is accessible from anywhere within the same project, from other projects that reference the project, and from an assembly built from the project.
*PROTECTED - access to the member is accessible only from within the same class, or from a class derived from this class.
*INTERNAL - access to the member is accessible from within the same project, but not from outside the project.
Optional. Shared specifies whether or not this event is to be shared. *NO is the default.
*NO (default) - this event will not be shared.
*YES - this event will be shared.
Optional. Modifier controls how properties and methods are overridden in derived classes. *NONE is the default.
*NONE (default) - specifies that none of the override options are available for properties and methods.
*MUSTOVERRIDE - specifies that a property or procedure in a base class must be overridden in a derived class before it can be used.
*NOTOVERRIDABLE - specifies that a property or procedure cannot be overridden in a derived class.
*OVERRIDABLE - specifies that a property or method can be overridden in a derived class.
*OVERRIDES - specifies that a property or method overrides a member inherited from a base class.
Optional. Indicates that this class implements the members of an interface. An interface defines a set of properties, events and methods, but does not provide an implementation of them, just a definition. You must implement every member of every interface you specify in this keyword.
Optional. Allows you to provide one or more attributes that apply to this class. To specify more than one attribute, simply separate them with commas.
Use DCLEVENT when creating an event. It can be performed anywhere within calculations.
Parameters may be declared by using DCLSRPARM commands right after a DCLEVENT. See DCLSRPARM for more information.
ADDHANDLER
Custom Attributes
DCLEVENT
DCLSRPARM
REMOVEHANDLER