ScriptBasic:UsersGuide 12.14.4

From ScriptBasic
Jump to: navigation, search

[Contents]

12. File Handling
12.14. Listing files

12.14.4. Reset directory

[<<<] [>>>]


You can use this command to reset the directory listing. The syntax of the command is


RESET DIRECTORY dn

or


RESET DIRECTORY #dn

where dn is the directory number. After executing this command the next call to NextFile will return the first file in the list and listing starts again.


[<<<] [>>>]