I know there is a global FormatSettings variable available, which is initialized with the current regional OS settings on startup. That means, when you convert strings to numbers and visa verse, e.g. in an xml file, and you exchange that files with other PCs. It can happen that such a file cannot be loaded, since the strings cannot be convertet back to numbers anymore. It depence on the DecimaleSeparator.
So my question is: Is there another globel FormatSettings variabel available, which I can use for storing persistent data into text file?
Example:
FloatToStr(Value, PersistentFormatSettings);
StrandValprocedures to do such conversion. But before that i read specs for those procedures and for data formats to seethat they match. And if you need variables like "XMLFormatSettings" or "JSONFormatSetting" then just introduce them. Persistent is just wrong here - it is not about persistency of the settings. - Arioch 'Thevar InvariantCulture: TFormatSettings = (...);and here you have it. However that does not automatically make it matching XML or JSON or any other independent specification - to check the matching is still your own task (or task for vendor of XML or JSON parsing/generating library). - Arioch 'TheStrandValand you have that "persistence" for granted. - Arioch 'The