Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define data type for integer,binary & hexadecima
Message
De
27/01/1999 00:59:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00179567
Message ID:
00180594
Vues:
24
>>How can i change the data type from character to integer, binary and hexadecimal ?
>
>integer: VAL("123456")
>binary: not possible
>hexadecimal string: TRANSFORM(VAL("123456"),"@0")

Hex string is the right word. I'm seeing terms like "hex numbers" for months, and still can't believe that there are people who think that such numbers exist. Hex is just a way of writing the binary representation of byte contents. Conversion between integer and hex is just like conversion between temperature and cyrillic.

Anyone can try
? 0x100=256

(Which may eventually be used to prove that 256 is a hex number :) )

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform