Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing char to hex
Message
De
30/09/2005 12:59:31
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
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01054856
Message ID:
01054956
Vues:
20
>>>Is there any way I can do a comparison from char to hex?
>>>
>>>
>>>retval=FREAD(f,3)
>>>if retval=0x4A6F65
>>>  do something
>>>endif
>>>
>>
>>Since you're in VFP9, how about
>>
>>
>>retval=FREAD(f,3)
>>if retval=0h4A6F65
>>  do something
>>endif
>>
>>
>>Note the 0h instead of 0x.
>
>Beautiful!!!! Where in the help is that described?!?!?

I have no idea. I'm still on VFP8 :).

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