Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CEE-clone for VFP7
Message
 
À
06/02/2002 07:43:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00615920
Message ID:
00615955
Vues:
28
Andy,

>One omission from the Alt-6 code we put together was pointed out and fixed by Daniel Gramunt.

Thanks for that.

I would not start using Your code without permission. So, what do
You think, should I go for it? Would it be ok to use Marcia's and
Your code?

By the way, I found another small issue in the code, that, however
would have never come up as it only addresses the first character
in the snippet.

The EntryCheck
IF ( lnResult = 0 ) OR;
    ( laEnv[ 2 ] = 0 ) OR ;
    ( laEnv[ 12 ] > 0 ) OR ;
    ( laEnv[ 17 ] = 0 ) OR ;
    ( NOT INLIST( laEnv[ 25 ], 1, 8, 10, 12 ) )
    RETURN
ENDIF
should rather be
IF ( lnResult = 0 ) OR;
    ( laEnv[ 2 ] = 0 ) OR ;
    ( laEnv[ 12 ] > 0 ) OR ;
    ( laEnv[ 17 ] < 0 ) OR ;
    ( NOT INLIST( laEnv[ 25 ], 1, 8, 10, 12 ) )
    RETURN
ENDIF
because of the 0-Based counting. Otherwise the method directly
returns if the fist selected character is the first one in the file.

But as I said, it does not affect the localize-issue
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform