Dictionary.SetList
------------------

Fills dictionary with keys and values form a list.

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

MBS( "Dictionary.SetList"; DictionaryRef; List { ; Delimiter } ) 

**MBS**( **"Dictionary.SetList";** /\* Fills dictionary with keys and values form a list. \*/  
**$DictionaryRef**; /\* The reference number to the dictionary.e.g. $dic \*/   
**$List**; /\* The list of values with delimiter.e.g. "Hello=World¶Other=Value" \*/   
**$Delimiter**) /\* Optional; The delimiter for the value list.  
Default is tab key.e.g. "=" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| DictionaryRef | The reference number to the dictionary. | $dic |  |
| List | The list of values with delimiter. | "Hello=World¶Other=Value" |  |
| Delimiter | The delimiter for the value list.   Default is tab key. | "=" | Optional |

### Result

Returns OK or error.

### Description

Fills dictionary with keys and values form a list.  
The list contains key=value entries with a configurable delimiter.  
### See also

- [Dictionary.GetTag](DictionaryGetTag.md)
- [Dictionary.List](DictionaryList.md)
- [Dictionary.Release](DictionaryRelease.md)
- [Dictionary.SetQuickList](DictionarySetQuickList.md)
- [Dictionary.SetTag](DictionarySetTag.md)

### Blog Entries

- [Data structures in MBS Plugin](https://www.mbsplugins.de/archive/2023-11-27/Data_structures_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.2pr7](https://www.mbsplugins.de/archive/2016-05-07/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd May 2016 , last changed 1st March 2021

  
[Dictionary.Serialize](DictionarySerialize.md) - [Dictionary.SetQuickList](DictionarySetQuickList.md)

[HTML Version](DictionarySetList.shtml)