Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
QuickList.Or
Returns values of both lists.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "QuickList.Or"; List1; List2 { ; ReturnNewList } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
List1 | The reference to the first quicklist. | $List1 | |
List2 | The reference to the second quicklist. | $List2 | |
ReturnNewList | Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Release function. Pass 0 (Default) to modify the list in the List1 parameter. |
0 | Optional |
Result
Returns list, OK or error.
Description
Returns values of both lists.Performs a logical OR operation.
Examples
Creates two lists and combines them:
$list1 = MBS( "QuickList.New"; "Hello¶World")
$list2 = MBS( "QuickList.New"; "a¶b")
$list3 = MBS( "QuickList.Or"; $list1; $list2; 1 )
$list = MBS( "QuickList.GetList"; $list3)
$r = MBS("QuickList.Release"; $list1)
$r = MBS("QuickList.Release"; $list2)
$r = MBS("QuickList.Release"; $list3)
See also
- List.Or
- QuickList.And
- QuickList.GetList
- QuickList.New
- QuickList.Not
- QuickList.OrColumn
- QuickList.Pop
- QuickList.Sort
- QuickList.Trim
- QuickList.XOr
Release notes
- Version 10.0
- Added QuickList.AndColumn, QuickList.NotColumn, QuickList.OrColumn, and QuickList.XOrColumn functions.
Blog Entries
This function checks for a license.
Created 8th October 2014, last changed 14th December 2023
