PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Using the global member pLast defined in the Drawing class from a method of the derived class CIRCLE
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Error 1005: To explicitly access a global element of '%1' class, use the syntax
Reason
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
Correction
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
Example

Using the global member pLast defined in the Drawing class from a method of the derived class CIRCLE

Code triggering the error
:Drawing::plast
Possible correction
Delete the colon (: character) in front of the name of the base class.
Drawing::pLast
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment