MSIR.0782 Block not associated with name (name): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "An <tt>End</tt> statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the bloc...")
 
(Automatically generated page update)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
An <tt>End</tt> statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the block being ended is associated. For example, for <tt>End Class</tt>, <tt>End Public</tt>, <tt>End Private</tt>, <tt>End Public Shared</tt>, and <tt>End Private Shared</tt>, the entity name is the class name. For <tt>End Function</tt>, <tt>End Property</tt>, <tt>End Subroutine</tt>, <tt>End Constructor</tt>, <tt>End Set</tt>, and <tt>End Get</tt>, the entity name is the method name. The name being complained about is never required, and a common cause of this error is for extra characters to have been accidentally typed after a block end.
An <tt>End</tt> statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the block being ended is associated. For example, for <tt>End Class</tt>, <tt>End Public</tt>, <tt>End Private</tt>, <tt>End Public Shared</tt>, and <tt>End Private Shared</tt>, the entity name is the class name. For <tt>End Function</tt>, <tt>End Property</tt>, <tt>End Subroutine</tt>, <tt>End Constructor</tt>, <tt>End Set</tt>, and <tt>End Get</tt>, the entity name is the method name. The name being complained about is never required, and a common cause of this error is for extra characters to have been accidentally typed after a block end.


[[Category:Sirius Mods Messages]]
{{Template:MSIR.0782 footer}}
[[Category:MSIR.0600 - MSIR.0799]]

Latest revision as of 23:34, 3 March 2017

An End statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the block being ended is associated. For example, for End Class, End Public, End Private, End Public Shared, and End Private Shared, the entity name is the class name. For End Function, End Property, End Subroutine, End Constructor, End Set, and End Get, the entity name is the method name. The name being complained about is never required, and a common cause of this error is for extra characters to have been accidentally typed after a block end.


Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages