Hi Przemek,
Message: 7
Date: Wed, 21 Oct 2009 13:49:49 +0200
From: Przemys?aw Czerpak <[email protected]>
Subject: Re: [Harbour] HB_ReadIni() Problem
To: "Harbour Project Main Developer List."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
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
Thanks for the info. Will check these functions.
Best regards,
Mario
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour