| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Reads a TOML integer into a Clarion LONG with range checking and a supplied default.
GetLong PROCEDURE(STRING pKeyPath,LONG pDefault,*LONG pValue),LONG
Reads a TOML integer into a Clarion LONG with range checking and a supplied default.
| Parameter | Type | Description |
|---|---|---|
| pKeyPath | STRING | Dotted or indexed TOML key path. |
| pDefault | LONG | Value returned when the TOML key or array element is absent. |
| pValue | *LONG | Output variable that receives the requested value. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
RefreshMinutes LONG
RetCode LONG
CODE
RetCode = Toml.GetLong('application.refresh_minutes',5,RefreshMinutes)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |