ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Initializing a global member in the declaration code of the class
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help