PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Using a file name that does not exist in the project directory
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 31: The file to include is not found. Check the name and path ...
Reason
This code line uses the EXTERN keyword with a file name. The file is not found because:
  • The name of the file is incorrect (spelling mistake in the file name for example).
  • The path used to find the file is incorrect (the specified path does not exist for example).
Reminder: The EXTERN keyword is used to insert a file into the WLanguage code. By default, if no path is specified for the file, the file is sought in the project directory.
Correction
Check the path and name of the file to include in the code.
Note: The "Personal\WLanguage" sub-directory of WINDEV, WEBDEV or WINDEV Mobile can be used to store the files to include. In this case, the path is automatic: the file is automatically sought in this directory.
Example

Using a file name that does not exist in the project directory

Code triggering the error
EXTERN "Constants.txt"
Possible correction
Create the file or modify the access path to the file.
EXTERN "C:\Constants\Constants.txt"
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment