PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Reason
  • Correction
  • Example
  • Declaring a class without the END keyword
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 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 declaration of the class 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 version required
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment