🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #32

Re: Very little Visual Fox Pro code to BCB. Need Help...

#32
From: Cooper
Date: Thu, 22 Dec 2005 06:52
27 lines
1562 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"Cooper" <Cooper@cooper.com> wrote in message
>news:43a9d0db$1@newsgroups.borland.com...
>
>> I need to convert a piece of Visual Fox Pro code to BCB.Is it
>> possible to help me to convert this simple code please?
>
>Try this:
>
>    int __fastcall YY(const AnsiString &akyt)
>    {
>        int ly = 0;
>        for(int li = 1; li <= akyt.Length(); ++li)
>            ly += (akyt[li] * (1 << li));
>        return ly;
>    }
>
>
>Gambit
>
>
Thank you it worked perfectly... BTW i wonder, when will i 
learn this c++? :(

Cooper
Technical Details
Message-ID: <43aa5b3e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43a9d0db$1@newsgroups.borland.com> <43a9e00a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,5c638784379559d9
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Cooper" <Cooper@Cooper.com>
Sender: "Cooper" <Cooper@Cooper.com>
Reply-To: "Cooper" <Cooper@Cooper.com>
Subject: Re: Very little Visual Fox Pro code to BCB. Need Help...
Newsgroups: borland.public.cppbuilder.migration
X-User-Info: 81.215.239.208     
References: <43a9d0db$1@newsgroups.borland.com> <43a9e00a$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43aa5b3e$1@newsgroups.borland.com>
Date: 21 Dec 2005 23:52:30 -0700
X-Trace: newsgroups.borland.com 1135237950 207.105.83.66 (21 Dec 2005 23:52:30 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail