PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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()
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment