Information générale
Catégorie:
Codage, syntaxe et commandes
"Is there anyway I can open this file lastfile.ms3 with my hex program and extract the (fe 4e) portion of this line into a texbox. From here I could then convert it to decimal?"
You could use following:
lnHandle=FOPEN("lastfile.ms3")
lcLine=" "
IF lnHandle>0
lcLine=FGETS(lnHandle)
=FCLOSE(lnHandle)
ENDIF
lcLine would then contain first line within file. You can also use FSEEK(), FEOF(), FPUTS(), FREAD() and FWRITE() if you need to manipulate further.
Gary.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement