[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

FindClose

Close a find handle

Declaration

Source position: filutilh.inc line 88

procedure FindClose(

  var F: TSearchRec

);

Description

FindCloseends a series of FindFirst/FindNextcalls, and frees any memory used by these calls. It is absolutelynecessary to do this call, or huge memory losses may occur.

For an example, see FindFirst.

Errors

None.

See also

FindFirst

  

Start a file search and return a findhandle

FindNext

  

Find the next entry in a findhandle.