5.


5. - 370


FILESEEK().
 
<cFile>
63, ,
:
 
7-11.
--------------------------------------------------------------------
 .
--------------------------------------------------------------------
0 FA_NORMAL
1 1 FA_READONLY READ ONLY ( )
2 2 FA_HIDDEN HIDDEN ( )
3 4 FA_SYSTEM SYSTEM ( )
4 8 FA_VOLUME VOLUME ( )
5 16 FA_DIRECTORY DIR ()
6 32 FA_ARCHIVE ARCHIVE (
)
--------------------------------------------------------------------
 
,
.
 

, FILESEEK(),

.
 

 
. :
 
? FILEATTR("C:\TEXT\TEXT.TXT") // . 32 (ARCHIVE)
? FILEATTR("C\HIDE.TXT") // . 34 (HIDDEN + ARCHIVE)
 
. FILESEEK():
 
cFile := FILESEEK("C:\TEXT\*.TXT")
DO WHILE .NOT. EMPTY(cFile)
? cFile, FILEATTR() //
cFile := FILESEEK() //
ENDDO
 


See Also: FILEDATE()
FILESEEK()