Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage Return and Line Feeds
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179123
Message ID:
00179181
Views:
21
Hi Joe,

>However I did download the same hex editor as him and it does show the
>chr(13) before the linefeeds.

Don't believe a program, you haven't written yourself. *g* Here's a VFP hex dump program. Just read the file into a memory variable with FILETOSTR() or FREAD() and run it. Also, you know that VFP ships with a hexeditor? It's in the TOOLS\HEXEDIT folder.
LParameter tcString

	Local lnPos, lnChar, lnCol, lnRow
	lnCol = 0
	lnRow = 0
	For lnPos = 1 To Len(tcString)
		If lnCol%16 = 0
			? Transform(lnRow,"@0")+" : "
			lnRow = lnRow+16
		Endif
		lnCol = lnCol + 1
		lnChar = Asc(SubStr(tcString,lnPos,1))
		?? Right(Transform(lnChar,"@0"),2)+" "
	Endfor
Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform