Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hex as string
Message
 
À
03/02/2008 14:26:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01288749
Message ID:
01288817
Vues:
15
>>In VFP9 you can use the 0h prefix:
>>
>>?0h414243="ABC"
>
>But then the 0h prefix denotes a varbinary variable, which will be interpreted as a binary string or as a string interpretation thereof, depending on what's first...
>
>
?0h414243
>?""+0h414243
>c="414243"
>?EVALUATE("0h"+c)
>?EVALUATE("[]+0h"+c)
>
True, but it still works in a search and replace, without conversion. Which is what I understand Hilmar is trying to do.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform