Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing char to hex
Message
From
30/09/2005 10:08:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054856
Message ID:
01054881
Views:
14
>Is there any way I can do a comparison from char to hex?
>
>
>retval=FREAD(f,3)
>if retval=0x4A6F65
>  do something
>endif
>
if eval('0x'+strconv(retval,15)) = 0x4A6F65

or:
if retval = strconv('4A6F65',16)

or ...

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform