🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: closing form

#4812
From: david johnson
Date: Thu, 24 Nov 2005 10:43
19 lines
1511 bytes
Just a quick question remy, is it necessary to precede it with const? What 
effect does this actually have?  Why not simply use AnsiString &FileName?  I 
only ask because I don't understand the implications of it in this 
situation.

Thanks in advance,




"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4384eafc$1@newsgroups.borland.com...
>
> "Alfred" <alf@no.spam.not.valid.email> wrote in message
> news:43845eca$1@newsgroups.borland.com...
>
>> Why "const AnsiString &FileName" and not a simple "String FileName" ?
>
> It 
Technical Details
Message-ID: <4385975c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4383d048$1@newsgroups.borland.com> <4383e16c$1@newsgroups.borland.com> <43845eca$1@newsgroups.borland.com> <4384eafc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d517b38f0628b82
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "david johnson" <davidjohnson@gmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4383d048$1@newsgroups.borland.com> <4383e16c$1@newsgroups.borland.com> <43845eca$1@newsgroups.borland.com> <4384eafc$1@newsgroups.borland.com>
Subject: Re: closing form
Date: Thu, 24 Nov 2005 10:43:27 -0000
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.2.92.14
Message-ID: <4385975c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1132828508 81.2.92.14 (24 Nov 2005 02:35:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail