ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Using the global member pLast of the Drawing class
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 1007: The member is global: use the: operator: to access it
Reason
You are trying to access a global member of the class by using the syntax allowing you to access a non-global member.
You are using the following syntax:
ClassName:MemberName
This syntax cannot be used to access a global member.
Correction
Use the proper syntax for accessing a global member of the class:
ClassName::MemberName
Example

Using the global member pLast of the Drawing class

Code triggering the error
Drawing::pLast
Possible correction
Correct the syntax used.
Drawing::pLast
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help