Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QuickList.AddMultiValue
Adds a value or list to the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 7.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| ListRef | The reference to the list returned from QuickList.New function. | $List | |
| Text | The text to add. Can be a list itself. |
"Hello" | |
| Count | The number of times to add the value/list. Default is 0. |
5 | |
| Separator | Available in MBS FileMaker Plugin 8.5 or newer. The separator to use. Can be ASCII character number (e.g. 9 for tab) or a text where we use first character as separator. Default is newline. |
"|" | Optional |
Result
Returns OK or error.
Description
Adds a value or list to the list.Examples
Create a list:
Let ( [
q = MBS( "QuickList.New" );
r = MBS( "QuickList.AddValue"; q; "First" );
r = MBS( "QuickList.AddMultiValue"; q; "Middle"; 10 );
r = MBS( "QuickList.AddValue"; q; "Last" );
list = MBS("QuickList.GetList"; q);
r = MBS( "QuickList.Free"; q )
]; list )
Example result:
First
Middle
Middle
Middle
Middle
Middle
Middle
Middle
Middle
Middle
Middle
Last
Create list from list:
Let ( [
q = MBS( "QuickList.New" );
r = MBS( "QuickList.AddMultiValue"; q; "Hello¶World"; 3 );
list = MBS("QuickList.GetList"; q);
r = MBS( "QuickList.Free"; q )
]; list )
Example result:
Hello
World
Hello
World
Hello
World
See also
Blog Entries
Release notes
- Version 8.5
- Added separator parameter for QuickList.AddList and QuickList.AddMultiValue.
- Version 7.2
- Added QuickList.AddMultiValue function.
Created 15th March 2017, last changed 27th September 2018
QuickList.AddList - QuickList.AddPostfix
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins