Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binary
Message
From
01/03/2006 02:35:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Binary
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01100270
Message ID:
01100270
Views:
51
Hi All,

Is there a quick function to convert a number to binary and back again? i.e.
A number like 
739207 
convert to 
10110100011110000111 
convert back to
739207
I have manually programmed this with BITTEST() each bit in the number but was wondering if there is a simpler function / method that I'm not aware of.

Thanks
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform