MSIR.0781 END (block) expected, not END (block): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "An <tt>End</tt> statement was followed by the incorrect qualifier. The qualifier on the <tt>End</tt> statement must match the statement that starts the block, for example <tt>Pub...")
 
m (1 revision)
(No difference)

Revision as of 16:45, 9 November 2010

An End statement was followed by the incorrect qualifier. The qualifier on the End statement must match the statement that starts the block, for example Public, or Class, or Subroutine. One common mistake is to end a Public Shared or Private Shared block with just anEnd Public or End Private. For these blocks, the End statement must be End Public Shared and or End Private Shared, respectively.