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