ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Declaring a procedure
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 203: The procedure already has a scope attribute (local or global)
Reason
You are declaring a procedure by trying to give it two scope attributes.
Reminder: A procedure can only have a single scope attribute:
  • Global: the procedure can be called in all the processes of the windows, controls and reports found in the project.
  • Local (default value): the procedure can be called in the processes of the window (and its controls) where this procedure was created.
Correction
Use a single scope attribute when declaring the procedure.
Example

Declaring a procedure

Code triggering the error
LOCAL GLOBAL procedure StockMarket()
Possible correction
Specify a single scope attribute for this procedure.
GLOBAL procedure StockMarket()
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help