AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkDirectory.GetNextFile Method

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

Syntax
Pascal
class function GetNextFile: String; static;

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

Copyright (c) 2012. All rights reserved.