Libraries
Scan TOML Source Code
 previous   up   next 

Function Summary
string
getTomlSymbol (inout string: stri)
Read a TOML symbol from a string.
string
getTomlSymbol (inout file: inFile)
Read a TOML symbol from a file.

Function Detail

getTomlSymbol

const func string: getTomlSymbol (inout string: stri)

Read a TOML symbol from a string. When the function is called it is assumed that stri[1] contains the first char of the TOML symbol. When the function is left stri is empty or stri[1] contains the character after the TOML symbol.

Returns:
the TOML symbol.

getTomlSymbol

const func string: getTomlSymbol (inout file: inFile)

Read a TOML symbol from a file. When the function is called it is assumed that inFile.bufferChar contains the first char of the TOML symbol. When the function is left inFile.bufferChar contains the character after the TOML symbol.

Returns:
the TOML symbol.


 previous   up   next