Navigation: thinBasic Modules > File > DIR_List |
|
Description
Return a linked list pointer (see LL module) containing a file list sequence based on mask, file attributes and function options.
Syntax
ptrLinkedList = DIR_List(Path, Mask, [Attribute, [Options]])
Returns
Number: pointer to a linked list.
Parameters
Name |
Type |
Optional |
Meaning |
Path |
String |
No |
Path to search into. Examples: "C:\Temp\" "C:\"
|
Mask |
String |
No |
Specifies a filename or additional sub path which can include a drive name and DOS compatible wildcard characters (* and ?). Examples: "*.*" "*.TXT"
|
Attribute |
Numeric |
Yes |
See File Equates for possible attributes. Examples: %FILE_NORMAL Or %FILE_ADDPATH %FILE_SYSTEM Or %FILE_HIDDEN Or %FILE_ADDPATH
|
Options |
Numeric |
Yes |
Not used. Possible future usage. |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |