Yaml_Init


Yaml_Init is used to create a Yaml database.

pYaml:=Yaml_Init(FilePath)

Parameters

Parameter

Description

FilePath

This must be the path of a yaml file.
Alternatively you can pass yaml text.
Also empty parameter can be passed to create new empty yaml database.

Return Value

None.

Remarks

A key can be a word (\w+) or any characters included in quotes (".+").However you must not use dots (.) in keys and a key must not be a number because this will be in conflict with dot syntax and indexing service.

Related

Simple Yaml Parser, Yaml_Get, Yaml_Set, Yaml_Add, Yaml_Insert, Yaml_Clone, Yaml_Delete, Yaml_DeleteAll, Yaml_Exist, Yaml_Save

Example

; None.