AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos externos
WINDEVJavaCódigo de Usuario (UMC) 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
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 25/08/2022

Señalar un error o enviar una sugerencia | Ayuda local