Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing hexidecimal values
Message
From
01/03/1998 09:34:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/02/1998 17:59:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00081779
Message ID:
00081950
Views:
23
>>>How do I pass a hexidecimal value to an external 16-bit DLL function which I've declared using FOXTOOLS.FLL ?
>>>
>>>Generally speaking, can FoxPro store hexidecimal values ?
>>Yes it does. All values are in fact stored as hex. Just pass it the decimal value. Or if you have hex send eval("0x"+hexdigits).
>>Cetin
>
>No need for EVAL(). VFP accepts the hex numeric format directly. Ie: if you want to pass the 1A hex value, you can write directly 0x1A.
>
>Vlad
Sure Vlad,
I skipped to explain it's a part of a function to pass hexdigits as char. Why need ? To get the hex digits from a textbox as char and return the value. I thought there wasn't a way of writing directly 0xhex in a numeric value textbox.
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