Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert string to Hexadecimal in VFP7
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01184100
Message ID:
01184113
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform