QuickList.SetList
-----------------

Sets the list to the content of the passed list.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [List](component_List.md) | [4.4](newinversion44.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "QuickList.SetList"; ListRef; Text { ; Separator } ) 

**MBS**( **"QuickList.SetList";** /\* Sets the list to the content of the passed list. \*/  
**$ListRef**; /\* The reference to the list returned from [QuickList.New](QuickListNew.md) function.e.g. $List \*/   
**$Text**; /\* New content for the list.e.g. "Hello¶World¶Test" \*/   
**$Separator**) /\* Optional; The separator to use. Can be ASCII character number (e.g. 9 for tab) or a text where we use first character as separator.e.g. "|" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ListRef | The reference to the list returned from [QuickList.New](QuickListNew.md) function. | $List |  |
| Text | New content for the list. | "Hello¶World¶Test" |  |
| Separator | The separator to use. Can be ASCII character number (e.g. 9 for tab) or a text where we use first character as separator. | "\|" | Optional |

### Result

Returns OK or error.

### Description

Sets the list to the content of the passed list.  
### See also

- [QuickList.AddList](QuickListAddList.md)
- [QuickList.GetList](QuickListGetList.md)
- [QuickList.List](QuickListList.md)
- [QuickList.New](QuickListNew.md)
- [QuickList.PopFirst](QuickListPopFirst.md)
- [QuickList.Release](QuickListRelease.md)
- [QuickList.Reverse](QuickListReverse.md)
- [QuickList.SetValue](QuickListSetValue.md)
- [QuickList.SortWith](QuickListSortWith.md)
- [QuickList.SubList](QuickListSubList.md)

### Blog Entries

- [Quicklist - Fast lists for FileMaker](https://www.mbsplugins.de/archive/2014-09-29/Quicklist_-_Fast_lists_for_Fil/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 21st September 2014 , last changed 23th September 2014

  
[QuickList.Serialize](QuickListSerialize.md) - [QuickList.SetValue](QuickListSetValue.md)

[HTML Version](QuickListSetList.shtml)