Gentee Programming Language > Documentation > Libraries Download documentation

verifypath

Verifying a path and creating all absent directories.
 
uint verifypath(
      str   name,
      arr   dirs of str
)

Parameters

nameThe name of the path to be verified.
dirs of strAn array for getting all the directories being created. It can be 0 ( 0->arr of str ).

Return value

The function returns 1 if directories have been verified and created successfully. In case of an error, the function returns 0 and the last dirs item contains the name where there occurred an error while creating a directory.

See also

    Function working with files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.