MSIR.0737 Assignment from (type) must be to (type): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use. | The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use. | ||
[[Category:Sirius Mods | [[Category:Sirius Mods messages]] |
Revision as of 17:59, 19 April 2013
The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use.