ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help