Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert string to Hexadecimal in VFP7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01184100
Message ID:
01184113
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
>Hi
>How can i convert a string to Hexadecimal using VFP7, where the strconv() function still does not have the 15 option for hexa?
>Jaime

Jaime,

Like in the old days
function	ath(x)
	local out, i
	out = ''
	for i = 1 to len(m.x)
		out = m.out + right(transform(asc(substr(m.x,m.i,1)),'@0'),2)
	endfor
	return	out
endfunc
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform