4D v14.3

CLOSE RESOURCE FILE

Home

 
4D v14.3
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.

 
PROPERTIES 

Product: 4D
Theme: Resources
Number: 498

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

Open resource file

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : CLOSE RESOURCE FILE ( 4D v12.4)