🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14491

Re: Saving into INI File

#14491
From: Stan
Date: Tue, 12 Aug 2003 13:49
35 lines
1944 bytes
I will try it and hope it works
thanks Eyyub
"Eyyub Volkan �ektimur" <evcektimur@prokon.com.tr> wrote in message
news:3f38f0ad@newsgroups.borland.com...
> you can seperate the lines;
>
> Count is number of lines
>
> Ini->WriteInteger(Section,"ItemCount",Count);
> for (int cx=0;cx<Count;cx++)
>     Ini->WriteString(Section,"Item_"+IntToStr(cx),Strings[cx]);
>
> you can write/read multi lines like this way.
>
> --
> ___________________________________
> Eyyub Volkan �ektimur
> Proya Software & Trade Inc.
> Head of Core Development Department
> "Stan" <thewatcher@email.com> wrote in message
> news:3f38ecfb$1@newsgroups.borland.com...
> > Hello
> >
> > I tried saving into an INI file using  sections and items
> > my problem is when I try to save text that contains more than one line
> into
> > an item it ignores all the lines after the first line and just saves the
> > first line to the item !!
> > Is there a solution to this in the INI ??
> >
> > Thanks
> >
> >
>
>
Technical Details
Message-ID: <3f38f193@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f38ecfb$1@newsgroups.borland.com> <3f38f0ad@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,4727f93d94327f0f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-12 06:56:32 PST
From: "Stan" <thewatcher@email.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f38ecfb$1@newsgroups.borland.com> <3f38f0ad@newsgroups.borland.com>
Subject: Re: Saving into INI File
Date: Tue, 12 Aug 2003 16:49:42 +0300
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.135.27.210
Message-ID: <3f38f193@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060696467 62.135.27.210 (12 Aug 2003 06:54:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail