Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"Next Line" in file_write #123598
04/13/07 08:49
04/13/07 08:49
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline OP

Serious User
TWO  Offline OP

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
This code gives my a special char (looks like a []) instead of a next line?


file_str_write(Handle, str_create("//////////////////\n")); // \n = next line... or?



Re: "Next Line" in file_write [Re: TWO] #123599
04/13/07 08:51
04/13/07 08:51
Joined: Dec 2005
Posts: 252
MyOwnKingdom
nipx Offline
Member
nipx  Offline
Member

Joined: Dec 2005
Posts: 252
MyOwnKingdom
Code:
file_str_write(fHandle, "test \n")  



works for me.


nipx

Re: "Next Line" in file_write [Re: nipx] #123600
04/13/07 08:57
04/13/07 08:57
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline OP

Serious User
TWO  Offline OP

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
Ah, ok, I see. I wrote to an .txt and the build in editor can't interpret those chars. If I write to an .h and then open it with VS everything works.

^^

Re: "Next Line" in file_write [Re: nipx] #123601
04/13/07 11:52
04/13/07 11:52
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
not sure if c-script has it or not but you could try this:

Code:

file_str_write(fHandle, "test \r\n")
[\code]

this works in C and probably lite-c


Our new web site:Westmarch Studios

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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