QuickList.RemoveValues
----------------------

We remove all values from the list.

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

MBS( "QuickList.RemoveValues"; ListRef; ValuesRef ) 

**MBS**( **"QuickList.RemoveValues";** /\* We remove all values from the list. \*/  
**$ListRef**; /\* The reference to the list returned from [QuickList.New](QuickListNew.md) function.e.g. $List \*/   
**$ValuesRef**) /\* The reference to the list returned from [QuickList.New](QuickListNew.md) function.e.g. $Values \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ListRef | The reference to the list returned from [QuickList.New](QuickListNew.md) function. | $List |
| ValuesRef | The reference to the list returned from [QuickList.New](QuickListNew.md) function. | $Values |

### Result

Returns OK or error.

### Description

We remove all values from the list.  
For each value in the values list, we find it in the first list and remove it if found.  
### See also

- [List.RemoveValues](ListRemoveValues.md)
- [QuickList.New](QuickListNew.md)
- [QuickList.RemovePrefix](QuickListRemovePrefix.md)
- [QuickList.RemoveValue](QuickListRemoveValue.md)

### Release notes

- **Version 15.1**
    - Added [List.RemoveValues](https://www.mbsplugins.eu/ListRemoveValues.shtml) and [QuickList.RemoveValues](https://www.mbsplugins.eu/QuickListRemoveValues.shtml) functions.

This function checks for a license.

Created 8th March 2025 , last changed 15th April 2025

  
[QuickList.RemoveValue](QuickListRemoveValue.md) - [QuickList.Reserve](QuickListReserve.md)

[HTML Version](QuickListRemoveValues.shtml)