WordFile.Release
----------------

Frees the memory used for the word file.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WordFile](component_WordFile.md) | [5.4](newinversion54.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WordFile.Release"; WordFile ) 

**MBS**( **"WordFile.Release";** /\* Frees the memory used for the word file. \*/  
**$WordFile**) /\* The reference number of the open word file. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WordFile | The reference number of the open word file. | $wordFile |

### Result

Returns OK or error.

### Description

Frees the memory used for the word file.  
### Examples

Releases a word file:

 Set Variable \[$r ; Value:MBS ("WordFile.Release"; $WordFile )\]  
### See also

- [WordFile.GetMediaFile](WordFileGetMediaFile.md)
- [WordFile.GetXML](WordFileGetXML.md)
- [WordFile.List](WordFileList.md)
- [WordFile.MediaFiles](WordFileMediaFiles.md)
- [WordFile.OpenContainer](WordFileOpenContainer.md)
- [WordFile.OpenFile](WordFileOpenFile.md)
- [WordFile.ReleaseAll](WordFileReleaseAll.md)
- [WordFile.Substitute](WordFileSubstitute.md)
- [WordFile.Texts](WordFileTexts.md)
- [XML.GetPathValue](XMLGetPathValue.md)

### Release notes

- **Version 10.5**
    - Added [AVExport.ReleaseAll](https://www.mbsplugins.eu/AVExportReleaseAll.shtml), [AVRecorder.ReleaseAll](https://www.mbsplugins.eu/AVRecorderReleaseAll.shtml), [CoreML.ReleaseAll](https://www.mbsplugins.eu/CoreMLReleaseAll.shtml), [DNSLookup.ReleaseAll](https://www.mbsplugins.eu/DNSLookupReleaseAll.shtml), [Dictionary.ReleaseAll](https://www.mbsplugins.eu/DictionaryReleaseAll.shtml), [FM.SQL.ReleaseAll](https://www.mbsplugins.eu/FMSQLReleaseAll.shtml), [JS.ReleaseAll](https://www.mbsplugins.eu/JSReleaseAll.shtml), [JavaScript.ReleaseAll](https://www.mbsplugins.eu/JavaScriptReleaseAll.shtml), [LDAP.ReleaseAll](https://www.mbsplugins.eu/LDAPReleaseAll.shtml), [PDFKit.ReleaseAll](https://www.mbsplugins.eu/PDFKitReleaseAll.shtml), [PKCS12.ReleaseAll](https://www.mbsplugins.eu/PKCS12ReleaseAll.shtml), [PKCS7.ReleaseAll](https://www.mbsplugins.eu/PKCS7ReleaseAll.shtml), [PKey.ReleaseAll](https://www.mbsplugins.eu/PKeyReleaseAll.shtml), [SSH.ReleaseAll](https://www.mbsplugins.eu/SSHReleaseAll.shtml), [WinSendMail.ReleaseAll](https://www.mbsplugins.eu/WinSendMailReleaseAll.shtml), [WindowsML.ReleaseAll](https://www.mbsplugins.eu/WindowsMLReleaseAll.shtml), [WordFile.ReleaseAll](https://www.mbsplugins.eu/WordFileReleaseAll.shtml), and [X509.ReleaseAll](https://www.mbsplugins.eu/X509ReleaseAll.shtml).

### Example Databases

- [WordFile/WordFile](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WordFile/WordFile.shtml#1ScriptAnchor_)

### FileMaker Magazin

- [Ausgabe 6/2021, Seite 20 bis 21](https://filemaker-magazin.de/neuigkeit/4165-Appetithappen-FMM_202106)
- [Ausgabe 6/2016, Seite 39](https://filemaker-magazin.de/neuigkeit/3913-Appetithappen-FMM_201606)

This function checks for a license.

Created 5th November 2015 , last changed 5th November 2015

  
[WordFile.Parts](WordFileParts.md) - [WordFile.ReleaseAll](WordFileReleaseAll.md)

[HTML Version](WordFileRelease.shtml)