AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkDirectory.GetNextFolder Method

Returns the name of the next folder found in the current directory, which is set using CurrentFolder.

Syntax
Pascal
class function GetNextFolder: String; static;

GetFirstFolder must have been called first for this to work. Any change to CurrentFolder or call to TAgkFileWriter.Create will require starting again with GetFirstFolder. Returns an empty string if there are no more folders in the current directory. Does not include . or ..

Copyright (c) 2012. All rights reserved.