Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (monk12), 1,487 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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