| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Stores a Clarion SREAL as a single-precision floating-point TOML value.
SetSReal PROCEDURE(STRING pKeyPath,SREAL pValue),LONG
Stores a Clarion SREAL as a single-precision floating-point TOML value.
| Parameter | Type | Description |
|---|---|---|
| pKeyPath | STRING | Dotted or indexed TOML key path. |
| pValue | SREAL | Value to store at the specified TOML key path. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
RetCode LONG
CODE
Toml.StartDocument()
RetCode = Toml.SetSReal('pricing.tax_rate',0.0975)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |