sebastienbro
Messages postés246Date d'inscriptiondimanche 14 avril 2002StatutMembreDernière intervention 5 août 2004
-
12 janv. 2003 à 14:36
cs_Delphiprog
Messages postés4297Date d'inscriptionsamedi 19 janvier 2002StatutMembreDernière intervention 9 janvier 2013
-
12 janv. 2003 à 15:10
Voilà, j'aimerais savoir comment on fait pour écrire en héxadécimal dans un fichier. En fait, je voudrais, par exemple, dire d'écrire $20, et je voudrai k'il écrire dans le fichier un espace.
J'y arrive pas, soit il écrit rien, ou alors, alors un TFileStream, il écrit n'importe koi !!!
cs_Delphiprog
Messages postés4297Date d'inscriptionsamedi 19 janvier 2002StatutMembreDernière intervention 9 janvier 201332 12 janv. 2003 à 15:10
Si c est du type Char, alors c:= Char($20) inscrit le caractère ASCII 20 hexadécimal, soit 32 en décimal, soit un espace dans le jeu de caractères ASCII standard.