Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Dictionary.Count
Returns number of keys in the dictionary.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dictionary | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Dictionary.Count"; DictionaryRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
DictionaryRef | The reference number to the dictionary. | $dic |
Result
Returns number or error.
Description
Returns number of keys in the dictionary.Examples
Query count of a dictionary:
$count = MBS("Dictionary.Count"; $Param)
See also
- Dictionary.Clear
- Dictionary.Clone
- Dictionary.Create
- Dictionary.KeyAtIndex
- Dictionary.List
- Dictionary.ToMatrix
- Dictionary.ToText
- Dictionary.ToXML
Example Databases
This function checks for a license.
Created 12nd December 2014, last changed 1st March 2021