Hi Przemek,
Message: 7
Date: Wed, 21 Oct 2009 13:49:49 +0200
From: Przemys?aw Czerpak <dru...@acn.waw.pl>
Subject: Re: [Harbour] HB_ReadIni() Problem
To: "Harbour Project Main Developer List."
<harbour@harbour-project.org>
Message-ID: <20091021114948.ga28...@linux-8af1.home.aster.pl>
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
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour