Jump to content

SteCam

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. SteCam

    New YAML Parser Library - VSoft.YAML

    I see from the docs that there is reference to plain, single_quoted and double_quoted strings. However, I cannot find how to apply these options to strings in key-value pairs. I tried the setting: Doc.Options.QuoteStrings := True; In my test this applies single quotes to both keys and values. Is there some way of specifying the setting at the scalar level?
  2. SteCam

    New YAML Parser Library - VSoft.YAML

    On initial install this looks really good. I have been using Neslib.Yaml up till now but look forward to seeing how this compares. The backwards compatibility is a plus - Neslib.Yaml requires Delphi 10.4 or higher.
  3. Thanks very much for your advice.
  4. I have a Delphi XE app that targets files with the '.yml' extension in a user-selected folder. A user reported that the app was giving duplicate results. It turns out that the user is running the app on Linux with Wine and uses an editor that creates backup files with the '.yml~' extension (per Linux convention) in the same folder. To my surprise I find that such files are not excluded by a line in my code such as i := FindFirst(strPath + '*.yml', faAnyFile, SearchRec); That is, the file mask '* .yml' also picks up '*.yml~'. Is there a way of specifying the file mask so that this does not occur?
×