PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Declaring a class without the END keyword
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 40: The END statement marking the end of the class declaration is missing
Reason
You are declaring a class in the declaration code of your class. The class declaration does not end with the END keyword.
Correction
Used the END keyword to end the declaration of your class.
Example

Declaring a class without the END keyword

Code triggering the error
// -- Declaration of "File" class
File is Class
Name is string
Extension is string
Directory is string
Possible correction
Use the END keyword.
// -- Declaration of "File" class
File is Class
Name is string
Extension is string
Directory is string
END
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment