Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
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 | 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