MSIR.0765 (method) not (what) in class (class): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
Line 1: Line 1:
A non-shared class member was accessed via shared member syntax or a non-constructor class member was access without a variable or class name. In the former case, <code>%(<i>classname</i>)</code> syntax is only allowed for shared members.
A non-shared class member was accessed via shared member syntax or a non-constructor class member was access without a variable or class name. In the former case, <tt>%(classname)</tt> syntax is only allowed for chared members.<pre> In the latter case, the <tt>%variable = method</tt> syntax is only allowed when <tt>method</tt> is a constructor, as in:<pre> %myList = new</pre> If the reference is for a system class, check the class documentation to determine which members of the class are shared members or constructors. If the object is a member of a User Language class, see the class definition (<tt>Public</tt>, <tt>Private</tt>, <tt>Public Shared</tt>, and <tt>Private Shared</tt> blocks) to determine which members of the class are shared or constructors.
 
In the latter case, the <code>%<i>variable</i> = <i>method</i></code> syntax is only allowed when <var class="term">method</var> is a constructor, as in:
 
<p class="code">%myList = new</p>  
 
If the reference is for a system class, check the class documentation to determine which members of the class are shared members or constructors. If the object is a member of a SOUL class, see the class definition (<var>Public</var>, <var>Private</var>, <var>Public Shared</var>, and <var>Private Shared</var> blocks) to determine which members of the class are shared or constructors.


[[Category:Sirius Mods messages]]
[[Category:Sirius Mods messages]]

Revision as of 17:37, 23 April 2014

A non-shared class member was accessed via shared member syntax or a non-constructor class member was access without a variable or class name. In the former case, %(classname) syntax is only allowed for chared members.

 In the latter case, the <tt>%variable = method</tt> syntax is only allowed when <tt>method</tt> is a constructor, as in:<pre> %myList = new

If the reference is for a system class, check the class documentation to determine which members of the class are shared members or constructors. If the object is a member of a User Language class, see the class definition (Public, Private, Public Shared, and Private Shared blocks) to determine which members of the class are shared or constructors.