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
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
"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 | 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