Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CEE-clone for VFP7
Message
 
To
06/02/2002 07:43:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00615920
Message ID:
00615955
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform