title: How can I read from YAML config file using Delphi?
body: <p>I'm trying to read from .cfg file I don't know enough about YAML, but I want to do this:</p>
  
  <p>My config file its using YAML.</p>
  
  <pre>   
  Residences:
    luchidv:
      EnterMessage: Estas entrando la residencia %residence de %owner.
      BlackList:
        Type: BLACKLIST
        ItemList: []
      LeaveMessage: Ahora estas saliendo de %residence.
      IgnoreList:
        Type: IGNORELIST
        ItemList: []
      Areas:
        main:
          X1: -1560
          Y1: 99
              Z1: 1457
  </pre>
  
  <p>So, how can Delphi parse the content of that config file?<br>
  I need to read the value by example:</p>
  
  <pre><code>Line:13
  X1: -1560
  </code></pre>
  
  <p>Any idea how to do it?</p>
  
  <p>I have been searching about and I found this:</p>
  
  <p><a href="http://pyyaml.org/wiki/LibYAML" rel="nofollow">http://pyyaml.org/wiki/LibYAML</a></p>
  
  <p>Thanks</p>