On Wed, 21 Oct 2009, Przemysław Czerpak wrote:
> > I have encountered the value being returned by HB_ReadIni() was
> > being truncated by one char at the last. I have the following
> > function and sample ini file.
> It may happen if EOL is missing in the last line of .ini file.
> I'll add protection against such situations in a while.
> Thanks for the information.
BTW HB_ReadIni() is XHB compatibility function. I suggest to use
Harbour functions: hb_ini{Read,ReadStr,Write,WriteStr}()
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour