Cicode Programming Reference > Cicode Function Categories > File Functions Introduction > FileFindClose

FileFindClose

Closes a find (started with FileFind) that did not run to completion.

Syntax

FileFindClose()

Return Value

0 if no error is detected, or a Cicode error code if an error occurred.

Related Functions

FileFind

Example

//Find the first dbf file starting with fred
sPath = FileFind("[run]:\fred*.dbf", 0);
IF (StrLength(sPath) > 0) THEN
//Do work here
FileFindClose();
END

See Also

File Functions