Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

List.XOr

Returns list with values found in either first or second list, but not in both.

Component: List
Version: 4.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "List.XOr"; List1; List2 { ; NoReturnEnding } )

Parameters

Parameter Description Example value
List1 The first list. "Hello" ¶ "World"
List2 The second list. "Hello" ¶ "Friends"
NoReturnEnding Optional
Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.
1

Result

Returns list or error.

Description

Returns list with values found in either first or second list, but not in both.
Performs an exclusive logical OR operation.

Examples

Perform logical XOR on list:

MBS( "List.XOr"; "1¶2¶3¶4"; "3¶4¶5¶6" )

See also


List.ValueIndex   -   ListDialog.AddItemToList

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Nachhilfe in Kretz