Page 1 of 1

FREAD / FWRITE

Posted: Sat Apr 21, 2018 4:00 pm
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

Re: FREAD / FWRITE

Posted: Sat Apr 21, 2018 5:30 pm
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 ????

Re: FREAD / FWRITE

Posted: Tue Apr 24, 2018 12:38 pm
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