Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

QuickList.OrColumn

Returns values of both lists.

Component Version macOS Windows Linux Server iOS SDK
List 10.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.OrColumn"; List1; List2; Separator; Column { ; ReturnNewList } )   More

Parameters

Parameter Description Example Flags
List1 The reference to the first quicklist. $List1
List2 The reference to the second quicklist. $List2
Separator The separator text.
Can be multiple characters.
For tab separated text, pass Char(9). For CSV separated text, pass ";" or ",".
Char(9)
Column The index of the column to compare.
Starts with 0 for first column.
0
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.

Checks the given column in both lists too compare.
If Separator is empty, this is same as QuickList.Or, but slower.

Examples

Combine two lists without duplicate IDs:

Set Variable [ $list1 ; Value: MBS( "QuickList.New"; "1;Apple¶2;Banana" ) ]
Set Variable [ $list2 ; Value: MBS( "QuickList.New"; "2;Banana¶3;Cherry" ) ]
# lines from both lists, compared by the ID in column 0
Set Variable [ $all ; Value: MBS( "QuickList.OrColumn"; $list1; $list2; ";"; 0; 1 ) ]
Set Variable [ $text ; Value: MBS( "QuickList.GetList"; $all ) ]
Set Variable [ $r ; Value: MBS( "QuickList.Release"; $list1 ) ]
Set Variable [ $r ; Value: MBS( "QuickList.Release"; $list2 ) ]
Set Variable [ $r ; Value: MBS( "QuickList.Release"; $all ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 23th December 2019, last changed 6th November 2026


QuickList.Or - QuickList.Pop


MarkDown version: QuickListOrColumn.md