f_create_directory.srf 364 B

123456789101112131415
  1. $PBExportHeader$f_create_directory.srf
  2. global type f_create_directory from function_object
  3. end type
  4. forward prototypes
  5. global function integer f_create_directory (string ls_path)
  6. end prototypes
  7. global function integer f_create_directory (string ls_path);IF DirectoryExists( ls_path ) THEN
  8. return 1
  9. ELSE
  10. return CreateDirectory(ls_path)
  11. END IF
  12. end function