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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Adds a value or list to the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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 |
Returns OK or error.
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
Created 15th March 2017, last changed 27th September 2018
QuickList.AddList - QuickList.AddPostfix
Feedback: Report problem or ask question.