[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] fopen read/write



PureBytes Links

Trading Reference Links

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.
 
 
 
----- Original Message -----
Sent: Tuesday, June 12, 2007 6:26 AM
Subject: [amibroker] fopen read/write

hi,
 
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

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___