Copyright © 2009, FreeBASIC Extended Library Development Group
Contains code contributed and Copyright © 2007, mr_cha0s: ruben@gmai l.com .coder
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License
Macros | |
FBEXT_MIN | |
FBEXT_MAX | |
FBEXT_SWAP | Type independant value swapper. |
Provides a simple way to iterate through a directory structure.
never use this in multiple threads or this on one thread and DIR() on another, etc...
for n as ext.misc.FILE_ITER("path/to/search", attribute) to "" 'or any string you would like to stop at print n.filename() next
The attribute is optional and can be left off compeletely. Defaults to files.
Type independant value swapper.
# macro FBEXT_SWAP( a, b )
Returns the current filename.
declare function filename( ) as string