ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / External file functions
WINDEVWEBDEV - Server codeReports and QueriesJavaUser code (UMC)PHPAjax Creating an external file
The following code is used to create an external file. The created file can be freely accessed by the other applications.
// Declare the variables
FileNameAndPath is string
FileID is int
 
// Select the file name and path
FileNameAndPath = "C:\Directories\File.txt"
 
// Create the file
FileID = fCreate(FileNameAndPath)
// Display an error message if the creation was not performed
IF FileID = -1 THEN
Error(ErrorInfo(errMessage))
ELSE
// Processes in the created file
...
// End of processes in the created file
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/25/2022

Send a report | Local help