MSIR.0765 (method) not (what) in class (class)

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

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.