Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing hexidecimal values
Message
De
01/03/1998 09:34:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/02/1998 17:59:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00081779
Message ID:
00081950
Vues:
24
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform