| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Reads an integer element from a simple TOML array into a Clarion LONG.
GetArrayLong PROCEDURE(STRING pKeyPath,LONG pIndex,LONG pDefault,*LONG pValue),LONG
Reads an integer element from a simple TOML array into a Clarion LONG.
| Parameter | Type | Description |
|---|---|---|
| pKeyPath | STRING | Dotted or indexed TOML key path. |
| pIndex | LONG | Zero-based array index, or output LONG that receives the new index. |
| pDefault | LONG | Value returned when the TOML key or array element is absent. |
| pValue | *LONG | Value to write, or output variable that receives the requested value. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
Value LONG
RetCode LONG
CODE
RetCode = Toml.GetArrayLong('retry_delays',0,0,Value)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |