PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Reason
  • Correction
  • Example
  • Using the non-global method Display of the Drawing class
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
Error 1017: The method is not global: use: to access it
Reason
You are trying to access a method of the class by using the syntax used to access a global method.
You are using the following syntax:

ClassName::MethodName
This syntax cannot be used to access a non-global method.
Correction
Use the proper syntax for accessing a (non-global) method of the class:

ClassName:MethodName
Example

Using the non-global method Display of the Drawing class

Code triggering the error
Drawing::Display()
Possible correction
Use the correct syntax.
Drawing:Display()
This page is also available for…
Comments
Click [Add] to post a comment