Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to define data type for integer,binary & hexadecima
Message
From
27/01/1999 00:59:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179567
Message ID:
00180594
Views:
25
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform