Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex as string
Message
 
To
03/02/2008 14:26:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01288749
Message ID:
01288817
Views:
14
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform