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