Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal to hexadecimal
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00402852
Message ID:
00403172
Views:
14
ERROR WILL ROBINSON... ERRORRRRR....

CHANGE THE FOR STATEMENT TO:

for n = 7 to 0 step -1

Alex

>Doru,
>
>Just ran a quicksearch in foxpro help. Bittest() is probably what you want.
>
>
>x = number_from_0_to_255
>
>result = ""
>
>for n = 0 to 7
>     result = result + iif( bittest( x, n), "1", "0")
>next
>
>return result
>
>
>Sorry for leading you astray!!!!
>
>Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform