MSIR.0786 Result required for method/property: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 1: Line 1:
A <var>Return</var> statement was coded in a <var>Function</var> or the <var>Get</var> method of a <var>Property</var>. Since both these methods return a value, a <var>Return</var> statement in one of these methods must have the returned value. See [[Classes and Objects]] for more information.
A <var>Return</var> statement was coded in a <var>Function</var> or the <var>Get</var> method of a <var>Property</var>. Since both these methods return a value, a <var>Return</var> statement in one of these methods must have the returned value. See [[Classes and Objects]] for more information.


{{Template:MSIR.0786 footer}}
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]

Revision as of 21:56, 11 July 2016

A Return statement was coded in a Function or the Get method of a Property. Since both these methods return a value, a Return statement in one of these methods must have the returned value. See Classes and Objects for more information.


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