MSIR.0783 Already have (setorget) method for property: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on...")
 
(Automatically generated page update)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on whether the property is ReadOnly, WriteOnly, or ReadWrite, respectively. A likely cause of this error is mistakenly typing <tt>Set</tt> when <tt>get</tt> is meant, or vice versa.
This is a compilation error for a class or structure definition. Property definitions require a single <var>Get</var> method, a single <var>Set</var> method, or one of each of these types depending on whether the property is <var>ReadOnly</var>, <var>WriteOnly</var>, or <var>ReadWrite</var>, respectively.  


[[Category:Sirius Mods Messages]]
A likely cause of this error is mistakenly typing <var>Set</var> when <var>Get</var> is meant, or vice versa.
 
{{Template:MSIR.0783 footer}}
[[Category:MSIR.0600 - MSIR.0799]]

Latest revision as of 23:34, 3 March 2017

This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on whether the property is ReadOnly, WriteOnly, or ReadWrite, respectively.

A likely cause of this error is mistakenly typing Set when Get is meant, or vice versa.


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