|
|
|
|
- Reason
- Correction
- Example
- Using the global member pLast defined in the Drawing class from a method of the derived class CIRCLE
Error 1005: To explicitly access a global element of '%1' class, use the syntax
You are trying to use a global element (member, method or constant) of the base class from the derived class. The syntax used is incorrect. You are using the following syntax: :NameBaseClass:ElementName To use a global element (member, method or constant) of the base class from a derived class, the element must be prefixed by the name of the base class. NameBaseClass:ElementName Using the global member pLast defined in the Drawing class from a method of the derived class CIRCLE Code triggering the error Possible correction Delete the colon (: character) in front of the name of the base class.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|