This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
CLOSE RESOURCE FILE

CLOSE RESOURCE FILE 


 

CLOSE RESOURCE FILE ( resFile ) 
Parameter Type   Description
resFile  DocRef in Resource file reference number

The CLOSE RESOURCE FILE command closes the resource file whose reference number is passed in resFile.

Even if you have opened the same resource file several times, you need to call CLOSE RESOURCE FILE only once in order to close that file.

If you apply CLOSE RESOURCE FILE to the 4D application or database resource files, the command detects it and does nothing.

If you pass an invalid resource file reference number, the command does nothing.

Remember to eventually call CLOSE RESOURCE FILE for a resource file that you have opened using Open resource file. Note that when you quit the application (or open another database), 4D automatically closes all the resource files you opened.



See also 

Open resource file

 
PROPERTIES 

Product: 4D
Theme: Resources
Number: 498

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)