PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Initializing a global member in the declaration code of the class
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 1011: To access the global member of the class, use ClassName::MemberName
Reason
You are trying to access a global member by using the syntax used to access a member of the class.
Correction
Use the proper syntax allowing you to access a global member of the class in the code of the class:
ClassName::NameGlobalMember
Example

Initializing a global member in the declaration code of the class

Code triggering the error
// Initializing a global member
Drawing:pLast = Null
Possible correction
Use the appropriate syntax.
// Initializing a global member
Drawing::pLast = Null
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment