FILEFIND.NEXT Function
Syntax
Result_Flag as L = fileFindObj.Next()
Returns
- Result_FlagLogical
Returns .T. if there is another entry in the list, otherwise .F..
Description
The .NEXT() method moves to the next file in the list of files referenced by the object pointer. The method returns .T. (TRUE) if there is another entry in the list; otherwise, it returns .F. (FALSE).
Example
dim ptr as P ptr = FILEFIND.first("C:\*.txt") ? ptr.name() = "c:\Button.Txt" ? ptr.next() = .T. ? ptr.name() = "C:\Check_box.txt"
See Also