Thank you for this example. I see an immediate application of the YAML format for something that I am developing.
I am curious how the in-line STRUCT definition does not throw an error. Somehow, in the far corners of my memory, I seem to recall reading that STRUCT definitions have to be on separate lines, not in-line, for function definitions. Also, the definition seems to have a mistake in spacing that does not throw even a warning???
STRUCT RGBColor &color NOT STRUCT RGBColor& color
April 26, 2025 at 09:00 am - Permalink