Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Carriage Return and Line Feeds
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00179123
Message ID:
00179181
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform