FREAD / FWRITE

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
Templar
Posts: 51
Joined: Sun Apr 01, 2018 5:37 pm
DBs Used: DBF

FREAD / FWRITE

Post by Templar »

Anybodye else playing about with these? I have spent a very frustrating today trying to get an FWRITE to work and failed completely. It looks ok, opens ok, returns the correct value and even updates the file date/time. But it hasn't actually written new values.
The only way round seems to be to FERASE the file and FCREATE again, which works.
Odd? :?
Templar
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: FREAD / FWRITE

Post by andyglezl »

Aquí hay un ejemplo...
-----------------------------
Here is an example ...

viewtopic.php?f=24&t=5644&p=55087&sid=4 ... 450#p55087

Porqué no posteas tu .prg para ver como lo haces ????
-------------------------------------------------------------------
Why do not you post your .prg to see how you do it ????
Andrés González López
Desde Guadalajara, Jalisco. México.
Templar
Posts: 51
Joined: Sun Apr 01, 2018 5:37 pm
DBs Used: DBF

Re: FREAD / FWRITE

Post by Templar »

Thanks. 've played around some more and now it's working fine, so I'm puzled as to why it wasn't before. Probably just my stupidity (most problems in my life are caused by that!) :)
Templar
Post Reply