Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display chr(21)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00579731
Message ID:
00579862
Vues:
47
>>>Hmm. I just went into Notepad, typed ALT-21, saved that file, and imported
>>>it into VFP -- it showed up correctly, and when I did ASC(lcStr), it printed
>>>167. Something's wacky somewhere, and I'm not convinced it's VFP.
>>
>>I believe ALT-21 won't give back CHR(21) but the Windows char that maps to
>>OEM/DOS character 21. CHR(21) is produced by ALT-021. CHR(167) is
>>character §, mapped to 21 in OEM/DOS.
>
>Ah, thanks for the clarification. I haven't needed to muck around with keypad character entry much.

That's what the A in ASCII is all about: if you were european (er... non-british, I mean), you would have to know these little tricks by heart since school, and couldn't be satisfied with a 128 char table! :)

bye
----------------------------------
António Tavares Lopes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform