Article View: borland.public.cppbuilder.internet.socket
Article #3299Re: Little Question about IdIMAP4->DeleteMsgs()
From: Remy Lebeau (TeamB)
Date: Thu, 06 Oct 2005 23:27
Date: Thu, 06 Oct 2005 23:27
20 lines
1436 bytes
1436 bytes
"John" <qwertzuiopmiller@web.de> wrote in message
news:4345813e@newsgroups.borland.com...
> I use C++Builder 6 but the compiler wants 2 parameters from
> me: "DeleteMsgs(const int *, const int)". For what is the second
> parameter used?
The high bound of the array, in other words the last index in the array.
You can use the ARRAYOFCONST macro to specify the array:
IdIMAP4->DeleteMsgs( ARRAYOFCONST((1, 2, 3, 4, 5)) );
Or the OPENARRAY macro:
IdIMAP4->DeleteMsgs( OPENARRAY(int, (1, 2, 3, 4, 5)) );
Gambit
Technical Details
Message-ID:
<4345b3af@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4345813e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b8f14c0815771736 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4345813e@newsgroups.borland.com> Subject: Re: Little Question about IdIMAP4->DeleteMsgs() Date: Thu, 6 Oct 2005 16:27:20 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4345b3af@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1128641455 68.69.17.41 (6 Oct 2005 16:30:55 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail