MSIR.0781 END (block) expected, not END (block)

From m204wiki
Revision as of 15:01, 9 November 2010 by 198.242.244.47 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.