Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore Optimization Issues in VFP 9.0
Message
De
08/09/2005 12:28:52
 
 
À
08/09/2005 11:05:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01040259
Message ID:
01047758
Vues:
15
>Add my vote, Ben, even though I've been unaffected (so far).
>
>People were getting proper (for them, and maybe adequate is a better word) results the old way and the VFP9 implementation is like using a sledgehammer to kill a mosquito.
>
>cheers
>
>

Hi Jim,
this matter has created a lot of contrast, and continuous.

In fact it is unlikely that the conversion among tails different page
harbors to an error in applications "normal",
this because there is no translation in the first 127 characters,
and the 128 th rarely happens also.
This is the motive for which historically this has not been
a remarkable issue.

repro:
DIMENSION ACP[23]

ACP[1]=437	&& U.S. MS-DOS
 
ACP[2]=620 && Mazovia (Polish) MS-DOS
 
ACP[3]=737 && Greek MS-DOS (437G)
 
ACP[4]=850 && International MS-DOS
 
ACP[5]=852 && Eastern European MS-DOS
 
ACP[6]=857 && Turkish MS-DOS
 
ACP[7]=861 && Icelandic MS-DOS
 
ACP[8]=865 && Nordic MS-DOS
 
ACP[9]=866 && Russian MS-DOS

ACP[10]=874 && Thai Windows
 
ACP[11]=895 && Kamenicky (Czech) MS-DOS
 
ACP[12]=932 && Japanese Windows
 
ACP[13]=936 && Chinese Simplified (PRC, Singapore) Windows
 
ACP[14]=949 && Korean Windows
 
ACP[15]=950 && Traditional Chinese (Hong Kong SAR, Taiwan) Windows
 
ACP[16]=1250 && Eastern European Windows
 
ACP[17]=1251 && Russian Windows
 
ACP[18]=1252 && Windows ANSI
 
ACP[19]=1253 && Greek Windows
 
ACP[20]=1254 && Turkish Windows
 
ACP[21]=10000 && Standard Macintosh
 
ACP[22]=10006 && Greek Macintosh
 
ACP[23]=10007 && Russian Macintosh

ACP[10]=10029 && Macintosh EE

* THESE FAIL : a BUG ?
* 1255 && Hebrew Windows
* 1256 && Arabic Windows

CLEAR
ASCII_0_to_N = 0h
N=126 	 && increment this value and you see the conversion
FOR k=0 TO N
	ASCII_0_to_N = ASCII_0_to_N +CHR(k)
NEXT

*  all conversion
FOR J=1 TO ALEN(ACP)
	FOR I=1 TO ALEN(ACP)
		IF CPCONVERT(ACP[J], ACP[I], ASCII_0_to_N )==ASCII_0_to_N 
			LOOP
		ENDIF
		? "conversion change",ACP[J], ACP[I]
	NEXT
NEXT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform