PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Creating a unique temporary file
fTempFile (Example)
Creating a unique temporary file
WINDEVWEBDEV - Server codeJavaPHPAjax The following code is used to create a unique temporary file.
// Declare the variables
TempFile is string
FileID is int
 
// Retrieve a unique temporary file
TempFile = fTempFile("ABC", "C:\MyDirectories\Temp")
 
// Create the file
FileID = fCreate(TempFile)
 
// Display an error message if the creation was not performed
IF FileID = -1 THEN
Error(ErrorInfo(errMessage))
ELSE
// Processes in the temporary file
...
// End of processes
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment