Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal to hexadecimal
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00402852
Message ID:
00403172
Vues:
15
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform