docs

Home Getting Started Browse by Category Class Methods Low-Level API

LoadFile

Loads a .toml file from disk.

Clarion class declaration

LoadFile PROCEDURE(STRING pFileName),LONG

Purpose

Loads a .toml file from disk.

Parameters

Parameter Type Description
pFileName STRING Path of the .toml file to load or save.

Return value

Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.

Example (Clarion)

RetCode LONG

CODE
RetCode = Toml.LoadFile('settings.toml')

Notes

Home Getting Started Browse by Category Class Methods Low-Level API