Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB's strings conversion
Message
De
28/05/2009 14:40:38
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01402498
Message ID:
01402521
Vues:
51
>>>
>>>vBackSpace = 0x21
>>>
>>>
>>>or even:
>>>
>>>#define vBackSpace  0x21
>>>
>>
>>Wouldn't that be 0h21? 0x being for numbers, and 0h for strings. I know you and I and probably all of the Russians there would have this problem of swapping these accidentally...
>
>
>
>Nope. That is 21 HEX and it is 0x21 :-)
>if you look at the VB declaration they are defined as INTEGER not CHAR :-)

Then in VB having
vBackSpace = chr(21)
should raise an error, shouldn't it?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform