AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos externos
  • Creating a directory
  • Creating a directory
fMakeDir (Example)
Creating a directory
// Declare the variables
DirectoryToCreate is string
ResCreate is boolean
// Select the directory to create
DirectoryToCreate = "C:\MyDirectory"
// Create the directory
ResCreate = fMakeDir(DirectoryToCreate)
// Display an error message if the creation was not performed
IF ResCreate = False THEN
Error(ErrorInfo(errMessage))
ELSE
Info("The directory was created")
END
Creating a directory
// Declare the variables
DirectoryToCreate is string
ResCreate is boolean
// Select the directory to create
DirectoryToCreate = fSelectDir("", "Select the directory to create")
// Create the directory
ResCreate = fMakeDir(DirectoryToCreate)
// Display an error message if the creation was not performed
IF ResCreate = False THEN
Error(ErrorInfo(errMessage))
ELSE
Info("The directory was created")
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: 23/08/2022

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