🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#31
From: Remy Lebeau (TeamB)
Date: Wed, 21 Dec 2005 23:07
19 lines
1381 bytes
"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
Technical Details
Message-ID: <43a9e00a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,5c638784379559d9
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.migration
References: <43a9d0db$1@newsgroups.borland.com>
Subject: Re: Very little Visual Fox Pro code to BCB. Need Help...
Date: Wed, 21 Dec 2005 15:07:01 -0800
Lines: 21
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: <43a9e00a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1135206410 68.69.17.41 (21 Dec 2005 15:06:50 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail