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  

Dictionary.CreateNamed

Creates a new dictionary with desired key.

Component Version macOS Windows Linux Server iOS SDK
Dictionary 8.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Dictionary.CreateNamed"; KeyRef { ; Key; Value } )   More

Parameters

Parameter Description Example Flags
KeyRef The desired key reference. "IDs"
Key Optional, a key. Optional
Value Optional, a value. Optional

Result

Returns dictionary reference or error.

Description

Creates a new dictionary with desired key.
Dictionaries are hash maps, so lookup is very fast (often faster than search in your FileMaker database). You can use them for storing parameters or lookup tables.
Optionally you can pass keys and values as parameters to this function.

If you looked for associative arrays, you are right here.

Examples

Creates new dictionary with reference number "IDs":

MBS("Dictionary.CreateNamed"; "IDs")

See also

Release notes

Blog Entries

Created 27th February 2018, last changed 3th April 2021


Dictionary.Create - Dictionary.Deserialize

Feedback: Report problem or ask question.