os.Path.dirFMask
Defines a filter mask for
os.Path.dirOpen()
.
Syntax
os.Path.dirFMask(
mask INTEGER)
- mask defines the filter mask.
Usage
When you call this function, you define the filter mask for any subsequent
os.Path.dirOpen()
call.
By default, all kinds of directory entries are selected by the dirOpen()
function. You can restrict the number of entries by using a filter mask.
The parameter of the os.Path.dirFMask()
function must be a combination
of the following bits:
0x01
= Exclude hidden files (.*)0x02
= Exclude directories0x04
= Exclude symbolic links0x08
= Exclude regular files
For example, to retrieve only regular files, you must
call:
CALL os.Path.dirFMask( 1 + 2 + 4 )