[fpc-pascal] TIniFile: how to save bool as string?

Reinier Olislagers reinierolislagers at gmail.com
Sat Oct 4 11:28:51 CEST 2014


On 03/10/2014 21:16, silvioprog wrote:
> When I use the TIniFile to save my configurations, it saves the boolean
> values as 0 and 1.
> 
> Is there any way to save these values ​​as string (true/false) instead
> of integer (0/1)? If not, can I send a patch to implement that?!

1. Write your own wrapper?
2. AFAIR, there already is a bug report+patch in the bug tracker on
extending TInifiles.





More information about the fpc-pascal mailing list