| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Returns the number of elements in a simple array or array of tables.
GetArrayCount PROCEDURE(STRING pKeyPath,*LONG pCount),LONG
Returns the number of elements in a simple array or array of tables.
| Parameter | Type | Description |
|---|---|---|
| pKeyPath | STRING | Dotted or indexed TOML key path. |
| pCount | *LONG | Receives the number of array elements. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
ItemCount LONG
RetCode LONG
CODE
RetCode = Toml.GetArrayCount('recent_files',ItemCount)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |