Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns key with given index.

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


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


Returns value or error.


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


Query first key:

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

See also

Example Databases

This function checks for a license.

Created 12nd December 2014, last changed 9th November 2021

Dictionary.HasKeys - Dictionary.Keys