MSIR.0788 Subroutines cannot have a datatype: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
This is a compilation error for a class or structure definition. Class functions and properties require a datatype, that is, an Is clause (although the keyword <tt>Is</tt> is optional). A class subroutine may not have a datatype. | This is a compilation error for a class or structure definition. Class functions and properties require a datatype, that is, an Is clause (although the keyword <tt>Is</tt> is optional). A class subroutine may not have a datatype. | ||
{{Template:MSIR.0788 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
This is a compilation error for a class or structure definition. Class functions and properties require a datatype, that is, an Is clause (although the keyword Is is optional). A class subroutine may not have a datatype.
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |