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.KeyAtIndex

Returns key with given index.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Dictionary 5.0 Yes Yes Yes Yes Yes
MBS( "Dictionary.KeyAtIndex"; DictionaryRef; Index )   More

Parameters

Parameter Description Example
DictionaryRef The reference number to the dictionary as returned by Dictionary.Create function. $dic
Index The index for the key. Range from 0 to Dictionary.Count-1. 0

Result

Returns OK or error.

Description

Returns key with given index.
Index starts at zero and ends at Dictionary.Count-1.

Examples

Query first key:

MBS("Dictionary.KeyAtIndex"; $Param; 0)

See also

Example Databases

Created 12nd December 2014, last changed 12nd December 2014


Dictionary.HasKey   -   Dictionary.Keys

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat