PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Creating an external file
Creating an external file
WINDEVWEBDEV - Server codeReports and QueriesJavaUser code (UMC)PHPAjax 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