ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Declaring a virtual method
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 201: The method already has a virtual attribute
Reason
You are declaring a virtual method: the "VIRTUAL" keyword was used twice during the declaration of the virtual method.
Reminder: By default, a method is not virtual when it is created.
Correction
Delete the extra "VIRTUAL" keyword.
Example

Declaring a virtual method

Code triggering the error
VIRTUAL PRIVATE VIRTUAL procedure Calculate_StockMarket()
Possible correction
Delete the extra VIRTUAL keyword.
VIRTUAL PRIVATE procedure Calculate_StockMarket()
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help