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.New
Creates a new list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 4.4 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Text | Initial list content. | "Hello¶World¶Test" | Optional |
| Separator | 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 |
| RefNum | The desired reference number. Leave empty for default. |
"IDs" | Optional |
Result
Returns reference number or error.
Description
Creates a new list.You can provide whatever separator you need. Default is new line characters. But works also fine with comma, semicolon or tab characters.
Please use QuickList.Free to release the list later.
QuickList reference numbers are starting at 12000 and counting up for each new list.
Examples
Creates new list:
MBS( "QuickList.New"; "Hello¶World¶Test" )
Create list with | as separator:
MBS("QuickList.New"; "Hello|World"; "|")
Parse with newline as separator:
MBS("QuickList.GetList"; MBS( "QuickList.New"; "1¶2" & Char(10) & "3" & Char(13) & "4" ))
# accepts CR and LF as delimiter.
See also
- QuickList.And
- QuickList.MatchesSubString
- QuickList.Or
- QuickList.Push
- QuickList.RemovePostfix
- QuickList.RemovePrefix
- QuickList.Serialize
- QuickList.SetList
- QuickList.SortWithEvaluate
- QuickList.SubList
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 8.1pr6
- Comparing Base Elements Plugin to MBS FileMaker Plugin
- Data structures in FileMaker with MBS Plugins
- Evaluate vs. Script Trigger
- Quicklist - Fast lists for FileMaker
FileMaker Magazin
Release notes
- Version 8.1
- Added RefNum parameter to QuickList.New.
- Version 7.1
- Fixed QuickList.New to handle empty element on the end correctly.
Created 21st September 2014, last changed 18th February 2019
QuickList.MatchesSubString - QuickList.Not
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins