FILE.DirOpen (FB; Prefix fildop)
This function block of the CAA_File.library opens a directory the entries (files and sub-directories) of which should be read with the help of the function block FILE.DirList. The return value is a handle. There may be restrictions concerning the specification of the directory name, e.g. only capital letters allowed, for different targets. The function FILE.GetProperty shows these restrictions.
xExecute |
BOOL |
see: CAA Guidelines |
sDirName |
CAA.FILENAME |
Directory name: No special characters, Separator for sub-directories “/”, Absolute or relative path specifications Recommendation: No empty spaces Use capital letters |
xDone |
BOOL |
see: CAA Guidelines |
xBusy |
BOOL |
see: CAA Guidelines |
xError |
BOOL |
see: CAA Guidelines |
eError |
FILE.ERROR |
Error ID |
hDir |
CAA.HANDLE |
Handle of the directory |