Ed, as I read your question literally, YES, one can
read, write and append to a file. Like so from the Users
Guide.
Simultaneously - NO. Programs including
AFL are serial.
Now if you mean you want to change some
elements or fields in that file, you'll have to read in the record of that file, change the field and write the
record back out.
HTH Joe
>>>
fputs( string, filehandle ) RETURNS
NOTHING FUNCTION Writes (puts) the string to the file. The
filehandle must be a number returned by fopen function used to open the file.
The file has to be open for writing or appending ("w" or "a") for this fputs
to work.
anyone know if one can read + write to a
file. I need to read a file and change some numbers if necessary. Seems that
AFL can only read or write or append. In C or C++ it is possible
simultaneously. Anyone know how to do it in AFL?
thanks, Ed
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com