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  

Dictionary.CreateNamed

Creates a new dictionary with desired key.

Component Version macOS Windows Linux Server FileMaker 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 assoziative arrays, you are right here.

Examples

Creates new dictionary with reference number "IDs":

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

See also

Blog Entries

Release notes

Created 27th February 2018, last changed 27th February 2018


Dictionary.Create   -   Dictionary.Deserialize

Feedback: Report problem or ask question.




Links
MBS Xojo blog

Start Chat