ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Error found in the spelling of a variable
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 301: Unknown identifier
Reason
You are using a name of control, constant or variable that does not exist or that was not declared beforehand.
Caution: This error can appear as an error or as a warning according to the management mode of unknown identifiers chosen in the project description:
  1. On the "Project" tab, in the "Project" group, click "Description".
  2. Display the "Compilation" tab.
  3. The compilation mode of unknown identifiers can be:
    • Strict mode: triggers a compilation error.
    • Permissive mode: performs an implicit declaration and triggers a warning.
Correction
Check the spelling of the object used and modify its name if necessary.
Reminder: The syntactic coloring found in the code editor enables you to find out whether you are using a known identifier or not: if the identifier is unknown, its name is displayed in red.
If the spelling is correct, check the existence of the control, variable or procedure and create this control, variable or procedure if necessary.
Tip: To create a procedure directly from its name, position the cursor on the name and press the F4 key.
Example

Error found in the spelling of a variable

Code triggering the error
MyProject is string
...
MProject = fCurrentDir() + ProjectName
Possible correction
Check the spelling of the variable.
MyProject is string
...
MyProject = fCurrentDir() + ProjectName
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help