ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Tip
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
Warning 124: Shadowing a global variable
A variable was declared: a global variable with the same name already exists in the current window or project.
If you keep this name, the "global" variable will no longer be visible in the current process: the local variable will be used instead.
Caution: If a variable global to the project is redefined in the initialization code of the window, the new variable will be used in all the processes of the window and window controls.
Reminder: Scope of variables
  • The global variables declared in the initialization code of the project are visible in the entire project.
  • The global variables declared in the opening code of the windows are visible in all the processes of the window and window controls.
Tip
Avoid using the same identifiers for different variables.
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help