Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

QuickList.Or

Returns values of both lists.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 4.4 Yes Yes Yes Yes Yes

MBS( "QuickList.Or"; List1; List2 { ; ReturnNewList } )

Parameters

Parameter Description Example value
List1 The reference to the first quicklist. $List1
List2 The reference to the second quicklist. $List2
ReturnNewList Optional
Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Free function. Pass 0 (Default) to modify the list in the List1 parameter.
0

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.Free"; $list1)
$r = MBS("QuickList.Free"; $list2)
$r = MBS("QuickList.Free"; $list3)

See also


QuickList.Not   -   QuickList.Pop

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos