Dictionary.Clone
----------------

Creates a copy of the dictionary.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dictionary](component_Dictionary.md) | [6.1](newinversion61.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Dictionary.Clone"; DictionaryRef ) 

**MBS**( **"Dictionary.Clone";** /\* Creates a copy of the dictionary. \*/  
**$DictionaryRef**) /\* The reference number to the dictionary.e.g. $dic \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| DictionaryRef | The reference number to the dictionary. | $dic |

### Result

Returns reference number or error.

### Description

Creates a copy of the dictionary.  
Returns a new reference number with a new dictionary behind and all keys and values copied.  
### See also

- [Dictionary.Clear](DictionaryClear.md)
- [Dictionary.Count](DictionaryCount.md)
- [Dictionary.Create](DictionaryCreate.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr5](https://www.mbsplugins.de/archive/2016-03-06/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 5th March 2016 , last changed 4th August 2021

  
[Dictionary.Clear](DictionaryClear.md) - [Dictionary.Count](DictionaryCount.md)

[HTML Version](DictionaryClone.shtml)