Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Dictionary.KeyAtIndex

Returns key with given index.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Dictionary 5.0 Yes Yes Yes Yes Yes

MBS( "Dictionary.KeyAtIndex"; DictionaryRef; Index )

Parameters

Parameter Description Example value
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


Dictionary.HasKey   -   Dictionary.Keys

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins