Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Martin_HH, TipmyPip), 1,279 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
File_open_read/File_open_write problem #280691
07/23/09 19:56
07/23/09 19:56
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
Ok, my problem is that I open a file with file_open_write And write something into it. Now I Open it again with file_open_read and read it out. Now I want to open it again with file_open_write and ADD something to the file. But as it stands in the manual file_open_write deletes the content. So how can I add something to a file?



Re: File_open_read/File_open_write problem [Re: Nicotin] #280692
07/23/09 20:00
07/23/09 20:00
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
gee, I don't know, perhaps... you know... file_open_APPEND?


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: File_open_read/File_open_write problem [Re: Nicotin] #280693
07/23/09 20:02
07/23/09 20:02
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Ein Blick ins Handbuch, und ich habe das gefunden:

file_open_append (string);

2. Möglichkeit: erst Daten auslesen, neue Daten anhängen und wieder mit file_open_write speichern...

Re: File_open_read/File_open_write problem [Re: Michael_Schwarz] #280694
07/23/09 20:04
07/23/09 20:04
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
Ohhhhhhhh! Now the text in the manual finally makes sense! I understood it like the file itself would be added to the end of the script >.<. Yeah ok thanks. I guess I had a blonde moment as I read it ^^




Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1